package aes

Import Path
	crypto/aes (on go.dev)

Dependency Relation
	imports 9 packages, and imported by 7 packages

Involved Source Files aes_gcm.go block.go cipher.go cipher_asm.go Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. The AES operations in this package are not implemented using constant-time algorithms. An exception is when running on systems with enabled hardware support for AES that makes these operations constant-time. Examples include amd64 systems using AES-NI extensions and s390x systems using Message-Security-Assist extensions. On such systems, when the result of NewCipher is passed to cipher.NewGCM, the GHASH operation used by GCM is also constant-time. modes.go asm_amd64.s gcm_amd64.s
Package-Level Type Names (total 9, in which 1 is exported)
/* sort exporteds by: | */
( KeySizeError) Error() string KeySizeError : error
Package-Level Functions (total 18, in which 1 is exported)
NewCipher creates and returns a new cipher.Block. The key argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.
Package-Level Variables (total 14, none are exported)
Package-Level Constants (total 6, in which 1 is exported)
The AES block size in bytes.