package
0.6.3
Repository: https://github.com/cessproject/cess-go-sdk.git
Documentation: pkg.go.dev

# Functions

CalcFileSHA256 is used to calculate the sha256 value of the file type.
CalcFileSHA256 is used to calculate the sha256 value of the file type.
CalcSHA256 is used to calculate the sha256 value of the data.
CalcPathSHA256 is used to calculate the sha256 value of a file with a given path.
CalcPathSHA256 is used to calculate the sha256 value of a file with a given path.
CalcSHA256 is used to calculate the sha256 value of the data.
No description provided by the author
CheckDomain returns an error if the domain name is not valid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Generate random password.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsIPv4 is used to determine whether ipAddr is an ipv4 address.
IsIPv6 is used to determine whether ipAddr is an ipv6 address.
No description provided by the author
NumsToByteStr utility function takes an array of unsigned integers and output the corresponding byte string representing it.
No description provided by the author
ParseEthAccFromEthSign parsing eth account public key from eth account signature - message: message - sign: eth signature Return: - string: eth account - error: error message.
No description provided by the author
PingNode be used to ping target node by ICMP protocol, It returns the TTL from target node.
No description provided by the author
No description provided by the author
RecoverError is used to record the stack information of panic.
SignedSR25519WithMnemonic sign sr25519 with mnemonic - mnemonic: polkadot account mnemonic - msg: message Return: - []byte: sr25519 signature - error: error message.
TraceRoute be used to trace route to target node by ICMP protocol, It returns the distance and TTL from target node.
VerifyPolkadotJsHexSign verify signature signed with polkadot.js - account: polkadot account - msg: message - sign: signature Return: - bool: verification result - error: error message Tip: - https://polkadot.js.org/apps/#/signing.
VerifySR25519WithPublickey verify sr25519 signature with account public key - msg: message - sign: sr25519 signature - account: polkadot account Return: - bool: verification result - error: error message.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author