Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptTester ¶
func EncryptTesterErrMsg ¶
func EncryptTesterErrMsg(req EncryptTesterErrMsgRequest)
Types ¶
type EncryptTesterErrMsgRequest ¶
type EncryptTesterErrMsgRequest struct {
Encrypt func(key *[32]byte, data []byte) (output []byte)
Decrypt func(key *[32]byte, data []byte) (output []byte, errMsg string)
DecryptErr func(key *[32]byte, data []byte) (output []byte, err error)
MaxOverhead int
RandomCheckSize int
NoRandom bool
NoCorrectVerify bool
}
Click to show internal directories.
Click to hide internal directories.