Documentation ¶
Index ¶
- func AesCTRXOR(key, inText, iv []byte) ([]byte, error)
- func AesGCMDecrypt(key, cipherText, nonce []byte) ([]byte, error)
- func AesGCMEncrypt(key, inText []byte) (outText, nonce []byte, err error)
- func GetEntropyCSPRNG(n int) []byte
- func Hash(size int, data ...[]byte) []byte
- func Hash256(data ...[]byte) []byte
- func Hash512(data ...[]byte) []byte
- func VerifySig(pubkey ed25519.PublicKey, message, signdata []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesGCMDecrypt ¶
func AesGCMEncrypt ¶
func GetEntropyCSPRNG ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package ed25519 implements the Ed25519 signature algorithm.
|
Package ed25519 implements the Ed25519 signature algorithm. |
Click to show internal directories.
Click to hide internal directories.