Use CryptoKit To Encrypt and Decrypt Data
Daily Coding Tip 207
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…


