paragonie / ciphersweet

Fast, searchable field-level encryption for PHP projects
https://ciphersweet.paragonie.com
Other
435 stars 32 forks source link

[Question] Updating to v3.0.0 - breaking changes. #99

Open GamerMedic opened 8 months ago

GamerMedic commented 8 months ago

I know that v3.0.0 has breaking changes. It does mean that my encrypted data can't be read using newer version, is it possible to update and be able to decrypt the already encrypted data?

Or do I need to decrypt all of the data that I have, update, and then encrypt using the updated version?

paragonie-security commented 7 months ago

The changes between versions was with the code, not the cryptography. They were API changes, not message format changes. Old data can still be decrypted.

However, the ModernCrypto backend has been deprecated and you should use BoringCrypto instead (which provides multi-tenant security).