Module jose_jwa_xchacha20

XChaCha: eXtended-nonce ChaCha and AEAD_XChaCha20_Poly1305 See https://tools.ietf.org/html/draft-irtf-cfrg-xchacha.

Copyright © 2014-2022, Andrew Bennett

Authors: Andrew Bennett (potatosaladx@gmail.com).

Description

XChaCha: eXtended-nonce ChaCha and AEAD_XChaCha20_Poly1305 See https://tools.ietf.org/html/draft-irtf-cfrg-xchacha

Function Index

encrypt/4
subkey_and_nonce/2

Function Details

encrypt/4

encrypt(Key, Counter, Nonce0, Plaintext) -> any()

subkey_and_nonce/2

subkey_and_nonce(Key, X2) -> any()


Generated by EDoc