Documentation ¶
Index ¶
- func AESKeyDecryption(key, data string) (result []byte, err error)
- func AESKeyEncryptedByPublicKey(key, publicKey string) []byte
- func AESKeyEncryption(key, data string) (result []byte, err error)
- func BytesToHex(data []byte) string
- func Decryption(privateKey, data string) ([]byte, error)
- func Encryption(publicKey, data string) ([]byte, error)
- func GenerateRandomAESKey(len int) []byte
- func HexToBytes(str string) []byte
- func NewAESKey(len int) string
- func SHA224BytesFromBytes(data []byte) []byte
- func SHA224BytesFromHex(data string) []byte
- func SHA224HexFromBytes(data []byte) string
- func SHA224HexFromHex(data string) string
- func SHA256BytesFromBytes(data []byte) []byte
- func SHA256BytesFromHex(data string) []byte
- func SHA256HexFromBytes(data []byte) string
- func SHA256HexFromHex(data string) string
- func SHA384BytesFromBytes(data []byte) []byte
- func SHA384BytesFromHex(data string) []byte
- func SHA384FromBytes(data []byte) string
- func SHA384HexFromHex(data string) string
- func SHA512BytesFromBytes(data []byte) []byte
- func SHA512BytesFromHex(data string) []byte
- func SHA512HexFromBytes(data []byte) string
- func SHA512HexFromHex(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESKeyDecryption ¶
func AESKeyEncryption ¶
func BytesToHex ¶
func Decryption ¶
func SHA224BytesFromHex ¶
func SHA224HexFromBytes ¶
func SHA224HexFromHex ¶
func SHA256BytesFromHex ¶
func SHA256HexFromBytes ¶
func SHA256HexFromHex ¶
func SHA384BytesFromHex ¶
func SHA384FromBytes ¶
func SHA384HexFromHex ¶
func SHA512BytesFromHex ¶
func SHA512HexFromBytes ¶
func SHA512HexFromHex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.