Text this: A novel method for developing post-quantum cryptoschemes and a practical signature algorithm