Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewGCMWithTagSize (0.12 sec)

  1. src/crypto/cipher/gcm.go

    // [NewGCM], which is faster and more resistant to misuse.
    func NewGCMWithNonceSize(cipher Block, size int) (AEAD, error) {
    	return newGCMWithNonceAndTagSize(cipher, size, gcmTagSize)
    }
    
    // NewGCMWithTagSize returns the given 128-bit, block cipher wrapped in Galois
    // Counter Mode, which generates tags with the given length.
    //
    // Tag sizes between 12 and 16 bytes are allowed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top