adonisjs / rfcs

💬 Sharing big changes with community to add them to the AdonisJs eco-system
52 stars 6 forks source link

Predictable Encryption #46

Open Kerrick opened 2 years ago

Kerrick commented 2 years ago

📚 Summary

The RFC introduces an option to Encryption.encrypt that will allow developers to generate predictable encryptions. When using this option, each time that you encrypt the same value with the same options, it will generate the same encrypted string.

❓ Type of change

🔗 Links

Discussion Thread Full Rendered Proposal