From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/go/crypto%2Faes%2Findex.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devdocs/go/crypto%2Faes%2Findex.html (limited to 'devdocs/go/crypto%2Faes%2Findex.html') diff --git a/devdocs/go/crypto%2Faes%2Findex.html b/devdocs/go/crypto%2Faes%2Findex.html new file mode 100644 index 00000000..24507c43 --- /dev/null +++ b/devdocs/go/crypto%2Faes%2Findex.html @@ -0,0 +1,19 @@ +

Package aes

Overview

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.

Index

Package files

aes_gcm.go block.go cipher.go cipher_asm.go const.go modes.go

Constants

The AES block size in bytes.

+
const BlockSize = 16

func NewCipher

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.

+

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string
+

+ © Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
+ http://golang.org/pkg/crypto/aes/ +

+
-- cgit v1.2.3