Documentation ¶
Index ¶
- Variables
- type KeyImpl
- func (k *KeyImpl[T]) Algorithm() types.Algorithm
- func (k *KeyImpl[T]) Decrypt(ciphertext T) (plaintext T, err error)
- func (k *KeyImpl[T]) Encrypt(plaintext T) (ciphertext T, err error)
- func (k *KeyImpl[T]) Export() (key T, err error)
- func (k *KeyImpl[T]) PublicKey() (key.Key[T], error)
- func (k *KeyImpl[T]) SKI() T
- func (k *KeyImpl[T]) Sign(_ T) (signature T, err error)
- func (k *KeyImpl[T]) Verify(_, _ T) (bool, error)
- type KeyImportImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedMethod = errors.New("chacha20: unsupported method")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.