Documentation ¶
Index ¶
- func Decrypt16NoRandom(psk *[32]byte, in []byte) (out []byte, errMsg string)
- func Decrypt32(psk *[32]byte, in []byte) (out []byte, errMsg string)
- func Decrypt32FromBase64String(pskS string, inB64 string) (out []byte, ok bool)
- func DecryptRecord(req RecordRequest) (out []byte, errMsg string)
- func Encrypt16NoRandom(psk *[32]byte, in []byte) (out []byte)
- func Encrypt32(psk *[32]byte, in []byte) (out []byte)
- func Encrypt32ToBase64String(pskS string, in []byte) (outB64 string)
- func EncryptRecord(req RecordRequest) (out []byte)
- func Get32PskSha3FromString(s string) *[32]byte
- type RecordRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt16NoRandom ¶
func DecryptRecord ¶
func DecryptRecord(req RecordRequest) (out []byte, errMsg string)
func Encrypt16NoRandom ¶
func Encrypt32ToBase64String ¶
func EncryptRecord ¶
func EncryptRecord(req RecordRequest) (out []byte)
func Get32PskSha3FromString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.