Type Safely

Type Safely

Use CryptoKit To Encrypt and Decrypt Data

Daily Coding Tip 207

Type Safely's avatar
Type Safely
Oct 29, 2022
∙ Paid

aerial photography of airliner
Photo by Ross Parmly on Unsplash

CryptoKit allows you to do many cryptographic operations, and one such operation involves encrypting data using the ChaCha20-Poly1305 AEAD algorithm. AEAD stands for Authenticated Encryption with Additional Data, because you end up with an authentication tag and the cryptographic nonce that was used for the encryption. A…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture