Documentation ¶
Index ¶
- Variables
- func WithIterations[T types.DataType](iterations int) key.Option[T]
- func WithSaltSize[T types.DataType](saltSize int) key.Option[T]
- type KeyGeneratorImpl
- type KeyImpl
- func (k *KeyImpl[T]) Algorithm() types.Algorithm
- func (k *KeyImpl[T]) Decrypt(_ T) (plaintext T, err error)
- func (k *KeyImpl[T]) Encrypt(_ 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(msg T) (signature T, err error)
- func (k *KeyImpl[T]) Verify(msg, signature T) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedMethod = errors.New("pbkdf2: unsupported method")
)
Functions ¶
Types ¶
type KeyGeneratorImpl ¶
Click to show internal directories.
Click to hide internal directories.