Versions in this module Expand all Collapse all v1 v1.0.1 Oct 18, 2021 Changes in this version + const AES_128_BLOCKSIZE + const KERMIT_BIG + const KERMIT_LITTLE + const SHA1_LEN + type AES128 struct + func (obj AES128) Crypt(buffer []byte, key []byte, iv []byte) ([]byte, error) + func (obj AES128) CryptHex(buffer []byte, key []byte, iv []byte) (string, error) + func (obj AES128) PKCS5Padding(ciphertext []byte) []byte + type CRC16 struct + func (obj CRC16) Calculate(ba utils.ByteArray, seed uint16, littleEndian bool) []byte + func (obj CRC16) Validate(ba utils.ByteArray, seed uint16, littleEndian bool) bool + type Luhn struct + func (obj Luhn) Calculate(message string) string + func (obj Luhn) Validate(message string) bool + type SHA1 struct + func (obj SHA1) Sha1File(filePath string) (string, error) + func (obj SHA1) Sha1String(message string) (string, error)