//
pkg.gl
Category
github.com/rvflash/safe
crypto
package
0.2.3
Repository:
https://github.com/rvflash/safe.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
3
Files
67 SLOC
#
Functions
New
New returns a private key.
#
Variables
ErrData
ErrData is returned is the data is mal-formatted.
ErrKey
ErrKey is returned is the given key is invalid.
#
Structs
PrivateKey
PrivateKey is a private key.
#
Interfaces
Decrypter
Decrypter must be implemented by any hash to decrypt a data.
Hash
Hash must be implemented by any hashed to sign and decrypt data.
Signer
Signer must be implemented by any hash to encrypt a data.