Documentation ¶
Index ¶
- func Generate(algorithm Algorithm, parameters ...interface{}) ([]byte, error)
- func GenerateByteArray(parameters ...interface{}) ([]byte, error)
- func GenerateCRC32(parameters ...interface{}) ([]byte, error)
- func GenerateMD5(parameters ...interface{}) ([]byte, error)
- func GenerateSHA1(parameters ...interface{}) ([]byte, error)
- func GenerateSHA256(parameters ...interface{}) ([]byte, error)
- func GenerateSHAKE(algorithm Algorithm, outputSize int, parameters ...interface{}) ([]byte, error)
- func GenerateSHAKE128(outputSize int, parameters ...interface{}) ([]byte, error)
- func GenerateSHAKE256(outputSize int, parameters ...interface{}) ([]byte, error)
- type Algorithm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateByteArray ¶
GenerateByteArray - generates a new byte array based on the given parameters
func GenerateCRC32 ¶
GenerateCRC32 - generates a sha256 hash based on the specified parameters
func GenerateMD5 ¶
GenerateMD5 - generates a md5 hash based on the specified parameters
func GenerateSHA1 ¶
GenerateSHA1 - generates a sha1 hash based on the specified parameters
func GenerateSHA256 ¶
GenerateSHA256 - generates a sha256 hash based on the specified parameters
func GenerateSHAKE ¶ added in v1.26.0
GenerateSHAKE - generates the shake hash using the selected algorithm
func GenerateSHAKE128 ¶ added in v1.26.0
GenerateSHAKE128 - generates a shake128 hash based on the specified parameters
func GenerateSHAKE256 ¶ added in v1.26.0
GenerateSHAKE256 - generates a shake256 hash based on the specified parameters
Types ¶
Click to show internal directories.
Click to hide internal directories.