package aes

Import Path
	crypto/aes (on golang.org and go.dev)

Dependency Relation
	imports 7 packages, and imported by 4 packages

Involved Source Files
	    aes_gcm.go
	    block.go
	    cipher.go
	    cipher_asm.go
	d-> const.go
	    modes.go
	    asm_amd64.s
	    gcm_amd64.s

Exported Type Names

type KeySizeError int ( T) Error() string T : error
Exported Values
const BlockSize = 16 The AES block size in bytes.
func NewCipher(key []byte) (cipher.Block, error) 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.