Text this: Enhancing cryptographic primitives with techniques from error correcting codes