Documentation
¶
Overview ¶
Package aes is the legacy AES-GCM import path.
New code should import the focused replacement package:
import "github.com/InsideGallery/core/pki/aesgcm"
Compatibility: existing AES-GCM exports remain available for downstream consumers that still import pki/aes. Do not add new helpers here; add AES-GCM behavior to pki/aesgcm so call sites avoid a local name collision with crypto/aes.
Index ¶
Constants ¶
View Source
const ( AES32 = 32 AES24 = 24 AES16 = 16 )
Variables ¶
View Source
var ErrInvalidAESSize = errors.New("invalid AES key size, must be 16, 24, or 32")
Functions ¶
This section is empty.
Types ¶
type AES ¶
type AES struct {
// contains filtered or unexported fields
}
func NewAESStrict ¶ added in v1.1.0
func (*AES) FromBinary ¶
func (a *AES) FromBinary(raw []byte) (localCipher.Cipher, error)
Click to show internal directories.
Click to hide internal directories.