DEV Community

Discussion on: End-to-End Encrypted Chat with the Web Crypto API

Collapse
 
cardoso profile image
Matheus Cardoso • Edited

Thanks for your feedback! I considered switching to CBC, but didn't find a strong enough reason, since the AES-GCM is safe for encrypting 2^32 times with a randomly generated IV using the CSPRNG provided by the Web Crypto API.

Edit: but yes, I removed the "must" and added further details. Thanks again :)