Documentation ¶
Index ¶
- func Decrypt(bech32string string, password string) (secretKey string, err error)
- func DecryptToBytes(bech32string string, password string) (secretKey []byte, err error)
- func Encrypt(secretKey string, password string, logn uint8, ksb KeySecurityByte) (b32code string, err error)
- func EncryptBytes(secretKey []byte, password string, logn uint8, ksb KeySecurityByte) (b32code string, err error)
- type KeySecurityByte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptToBytes ¶
func EncryptBytes ¶
Types ¶
type KeySecurityByte ¶
type KeySecurityByte byte
const ( KnownToHaveBeenHandledInsecurely KeySecurityByte = 0x00 NotKnownToHaveBeenHandledInsecurely KeySecurityByte = 0x01 ClientDoesNotTrackThisData KeySecurityByte = 0x02 )
Click to show internal directories.
Click to hide internal directories.