package
0.0.0-20250311023717-5c21e974eed8
Repository: https://github.com/thrasher-corp/gocryptotrader.git
Documentation: pkg.go.dev

# Functions

Base64Decode takes in a Base64 string and returns a byte array and an error.
Base64Encode takes in a byte array then returns an encoded base64 string.
GetHMAC returns a keyed-hash message authentication code using the desired hashtype.
GetMD5 returns a MD5 hash of a byte array.
GetRandomSalt returns a random salt.
GetSHA256 returns a SHA256 hash of a byte array.
GetSHA512 returns a SHA512 hash of a byte array.
HexEncodeToString takes in a hexadecimal byte array and returns a string.
Sha1ToHex takes a string, sha1 hashes it and return a hex string of the result.

# Constants

Const declarations for common.go operations.
Const declarations for common.go operations.
Const declarations for common.go operations.
Const declarations for common.go operations.
Const declarations for common.go operations.