Documentation ¶
Index ¶
- func AccessAndTransformElement(d []byte, i int) byte
- func CalculateChecksumAndTransform(key []byte, data []byte) []byte
- func CombineBytesToResult(d []byte, i int) []byte
- func DecryptWithAESGCM(gcmKey, sign, message, aad []byte) ([]byte, error)
- func EncEncKey(key *rsa.PublicKey, encryptKey []byte) string
- func EncHeaders(headers map[string]string) []byte
- func EncryptWithAESGCM(data, gcmKey, nonce, aad []byte) ([]byte, error)
- func GenerateAAD(a string, b string, c int, d int, e int, f int) []byte
- func GenerateSharedSecret(privateKey, publicKey []byte) ([]byte, error)
- func GetIntBytesV2(i int) []byte
- func GetSHA256Sum(args ...interface{}) []byte
- func Pad(buf []byte, size int) []byte
- func Pad256(buf []byte, size int) []byte
- func ParseHexToSlice(t string) []byte
- func Unpad(buf []byte) ([]byte, error)
- func Xor(buf []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineBytesToResult ¶
func DecryptWithAESGCM ¶
func EncHeaders ¶
func EncryptWithAESGCM ¶
func GenerateSharedSecret ¶
func GetIntBytesV2 ¶
func GetSHA256Sum ¶
func GetSHA256Sum(args ...interface{}) []byte
func ParseHexToSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.