go/doc/next/6-stdlib/99-minor/crypto/cipher/69981.md

161 B

The new [NewGCMWithRandomNonce] function returns an [AEAD] that implements AES-GCM by generating a random nonce during Seal and prepending it to the ciphertext.