def aes256_gcm_encrypt

bend-collections@1.0.0.0 · src/crypto/aesgcm.bend:19

import bend-collections@1.0.0.0/src/crypto/aesgcm.bend as Aesgcm
import Base
import bend-collections@1.0.0.0/src/crypto/aes/gcm.bend as G

19# AES-256-GCM: a 32-byte key.
20def aes256_gcm_encrypt(+key: List<&2, U32>, +nonce: List<&2, U32>, +aad: List<&2, U32>, +pt: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
21  G.seal_key(G.schedule_of(32n, key), nonce, aad, pt)

Uses (5)

Used by (1)