Documentation
¶
Overview ¶
Package cipher is the legacy import path for core-owned cipher contracts.
New code should import the focused replacement package:
import "github.com/InsideGallery/core/pki/cryptor"
Compatibility: existing cipher contracts remain available for downstream consumers that still import pki. Do not add new cipher boundary helpers here; add them to pki/cryptor so call sites avoid a local name collision with crypto/cipher.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCipherNotSet = errors.New("cipher is not set")
ErrCipherNotSet reports a nil cipher dependency.
Functions ¶
This section is empty.
Types ¶
type Options ¶ added in v1.1.0
type Options struct {
Kind string
}
Options identifies the cipher behavior requested by a consumer.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package aes is the legacy AES-GCM import path.
|
Package aes is the legacy AES-GCM import path. |
|
Package aesgcm provides AES-GCM cipher helpers without colliding with crypto/aes.
|
Package aesgcm provides AES-GCM cipher helpers without colliding with crypto/aes. |
|
Package cryptor defines core-owned cipher contracts and boundary helpers.
|
Package cryptor defines core-owned cipher contracts and boundary helpers. |
|
Package mock_cipher is a generated GoMock package.
|
Package mock_cipher is a generated GoMock package. |
|
Package rsa is the legacy RSA-OAEP import path.
|
Package rsa is the legacy RSA-OAEP import path. |
|
Package rsaoaep provides RSA-OAEP cipher helpers without colliding with crypto/rsa.
|
Package rsaoaep provides RSA-OAEP cipher helpers without colliding with crypto/rsa. |
Click to show internal directories.
Click to hide internal directories.