Documentation
¶
Index ¶
- Constants
- func BuildPreloginKey(masterPassword, email string, kdfIteration int) (*symmetrickey.Key, error)
- func GenerateEncryptionKey(key symmetrickey.Key) (*symmetrickey.Key, string, error)
- func GenerateKeyPair(key symmetrickey.Key) (string, string, error)
- func GenerateShareKey(publicKey *rsa.PublicKey) (string, *symmetrickey.Key, error)
Constants ¶
View Source
const (
PBKDF2_SHA256 = 0
)
Variables ¶
This section is empty.
Functions ¶
func BuildPreloginKey ¶
func BuildPreloginKey(masterPassword, email string, kdfIteration int) (*symmetrickey.Key, error)
func GenerateEncryptionKey ¶
func GenerateEncryptionKey(key symmetrickey.Key) (*symmetrickey.Key, string, error)
func GenerateKeyPair ¶
func GenerateKeyPair(key symmetrickey.Key) (string, string, error)
func GenerateShareKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.