Text this: Theory and Applications of Quantum Hashing