Gunnar and I have finally figured out why CryptoKit's encryption didn't produce the same result as the WebCryptoAPI.

Turns out the Nonce/IV parameter filled with zeroes was just as important as the timestamp used as authentication data.

#webcrypto #swift #cryptokit