Hashed data is secure because it is impossible to reverse engineer a hash. In this example, I have hashed several goals. Only I should be aware of this original text but obviously in this demo I've shared the secret sauce.
If wanted to encrypt data then be able to decrypt it, I would need a different approach. If I can't use hashes, how can I encrypt then decrypt this data?
If we understand that encryption is always reverseable, what can we do protect the data?
Encrypting and Decrypting with Javascript
Clojure and ClojureScript encryption with NaCL
Python also talks to NaCL