Documentation ¶
Index ¶
- func AbsolutePath(Datadir string, filename string) string
- func BigD(data []byte) *big.Int
- func BytesToBig(data []byte) *big.Int
- func BytesToHexSting(bytes []byte) string
- func BytesToHexString(bytes []byte) string
- func BytesToInt64(data []byte) int64
- func CopyBytes(b []byte) (copiedBytes []byte)
- func GenerateRandomBytes(bytes int) []byte
- func HexStringToBytes(hexstr string) []byte
- func Int64ToBytes(data int64) []byte
- func Ripemd160(bytes []byte) []byte
- func Sha256(in []byte) []byte
- func Sha512(in []byte) []byte
- func StrToSha256(str string) []byte
- func StrToSha512(str string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
AbsolutePath get absolute path
func BytesToHexSting ¶
BytesToHexSting bytes to hex string
func BytesToHexString ¶
BytesToHexString convert bytes to hex string
func BytesToInt64 ¶
func GenerateRandomBytes ¶
GenerateRandomBytes is to generate randorm bytes
func HexStringToBytes ¶
HexStringToBytes hex string to bytes
func Int64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.