Documentation ¶
Index ¶
Constants ¶
View Source
const (
CipherID = "aes"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
Cipher implements h2cipher.Cipher for aes
func NewFromParams ¶
NewFromParams creates an aes cipher from params
type Config ¶
type Config struct {
Key []byte
}
Config are aes params
func ParseConfig ¶
ParseConfig loads an aes config from params string
Click to show internal directories.
Click to hide internal directories.