jose_jwa_chacha20_poly1305 (JOSE v1.11.12)

View Source

ChaCha20 and Poly1305 for IETF Protocols See https://tools.ietf.org/html/rfc7539

Summary

Functions

authenticate(Message, Key, Nonce)

decrypt(CipherText, CipherTag, AAD, IV, CEK)

encrypt(PlainText, AAD, IV, CEK)

verify(MAC, Message, Key, Nonce)