This tutorial demonstrates implementing client-side encryption by storing salts on the backend and Data Encryption Keys (DEK) in localStorage. It covers generating initialization vectors (IVs) for AES-GCM encryption, converting CryptoKey objects to base64 for storage, and encrypting/decrypting data with proper IV handling. The

10m read timeFrom einenlum.com
Post cover image
Table of contents
Storing the saltWhat about the DEK?Encrypting and Decrypting Data

Sort: