Versions in this module Expand all Collapse all v1 v1.0.1 Nov 21, 2023 v1.0.0 Nov 6, 2023 Changes in this version + func AesDecryptECB(encrypted []byte, key []byte) []byte + func AesEncryptECB(origData []byte, key []byte) []byte + func EthHash(data []byte) common.Hash + func GetDhKey(publicKey *ecdsa.PublicKey, privateKey *ecdsa.PrivateKey) (string, error) + func GetPublicKey(key string) (*ecdsa.PublicKey, error) + func GetRandom(n int, isNO bool) string + func GetRandomInt(n int) (int64, error) + func HmacSha1(key, data []byte) []byte