Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMasterLock ¶
NewMasterLock is responsible for encrypting/decrypting with a master key expanded from a passphrase using HKDF using `passphrase`, hash function `h`, `salt`. The salt is optional and can be set to nil. This implementation must not be used directly in Aries framework. It should be passed in as the second argument to local secret lock service constructor: `local.NewService(masterKeyReader io.Reader, secLock secretlock.Service)`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.