Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecryptECB ¶
func AesEncryptECB ¶
=================== ECB ======================
func GetPublicKey ¶
=================== ecdsa ======================
func GetRandomInt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.