if(!i2p::crypto::AEADChaCha20Poly1305(sharedSecret/* can be anything */,0,m_H,32,m_CK+32,nonce,out+offset,16,true))// encrypt, ciphertext = ENCRYPT(k, n, ZEROLEN, ad)
if(!i2p::crypto::AEADChaCha20Poly1305(sharedSecret/* can be anything */,0,m_H,32,m_CK+32,nonce,out+offset,16,true))// encrypt, ciphertext = ENCRYPT(k, n, ZEROLEN, ad)
if(!i2p::crypto::AEADChaCha20Poly1305(buf,0,m_H,32,m_CK+32,nonce,sharedSecret/* can be anyting */,0,false))// decrypt, DECRYPT(k, n, ZEROLEN, ad) verification only
if(!i2p::crypto::AEADChaCha20Poly1305(buf,0,m_H,32,m_CK+32,nonce,sharedSecret/* can be anyting */,0,false))// decrypt, DECRYPT(k, n, ZEROLEN, ad) verification only