Documentation
¶
Index ¶
- Variables
- func WithIterations(iterations int) key.Option
- func WithSaltSize(saltSize int) key.Option
- type KeyGeneratorImpl
- type KeyImpl
- func (k *KeyImpl) Algorithm() types.Algorithm
- func (k *KeyImpl) Decrypt([]byte) ([]byte, error)
- func (k *KeyImpl) Encrypt([]byte) ([]byte, error)
- func (k *KeyImpl) Export() ([]byte, error)
- func (k *KeyImpl) PublicKey() (key.Key, error)
- func (k *KeyImpl) SKI() []byte
- func (k *KeyImpl) Sign(msg []byte) ([]byte, error)
- func (k *KeyImpl) Verify(msg, signature []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedMethod = errors.New("pbkdf2: unsupported method")
)
Functions ¶
func WithIterations ¶
func WithSaltSize ¶
Types ¶
type KeyGeneratorImpl ¶
type KeyGeneratorImpl struct{}
Click to show internal directories.
Click to hide internal directories.