Rocket
Rocket copied to clipboard
Encrypt data with secret key
Implements encryption and decryption functions for arbitrary textual data, as discussed in #477.
- Added functions
encryptanddecrypttoSecretKey. - AAD is not used since we don't have metadata like cookie names.
- Functions for encryption/decryption are based on implementations from cookie-rs.
- Added example with suggested usage.
Rebased on master.
There has been an issue with CI on Windows, so you will need to merge the latest commit from master before CI will pass.
There has been an issue with CI on Windows, so you will need to merge the latest commit from master before CI will pass.
Understood, I will do it after I finish making changes based on the comments. Thanks!
@the10thWiz Thanks for the thorough review! I merged the changes from master that you mentioned and moved the dependencies to the "secrets" feature. I will address the remaining comments a bit later.
@va-an Checking in. Any update?