# Packages
Package hexutil implements hex encoding with 0x prefix.
# Functions
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
BigPow returns a ** b as a big integer.
No description provided by the author
CopyBytes returns an exact copy of the provided bytes.
CreateDirIfNotExist create given folder.
No description provided by the author
DecryptBytes decrypt raw json to raw.
No description provided by the author
EncryptBytes encrypts raw by passphrase to json binary.
FromHex returns the bytes represented by the hexadecimal string s.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
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
No description provided by the author
No description provided by the author
LeftPadBytes zero-pads slice to the left up to length l.
No description provided by the author
No description provided by the author
PaddedBigBytes encodes a big integer as a big-endian byte slice.
No description provided by the author
No description provided by the author
No description provided by the author
ReadBits encodes the absolute amount of bigint as big-endian bytes.
No description provided by the author
RightPadBytes zero-pads slice to the right up to length l.
SafeAdd returns the result and whether overflow occurred.
SafeMul returns multiplication result and whether overflow occurred.
SafeSub returns subtraction result and whether overflow occurred.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
trim the '\00' byte.
TrimQuotes trim quotes of string if quotes exist.
U256 encodes as a 256 bit two's complement number.
UInt32Max returns the larger of x or y.
UInt32Max returns the smaller of x or y.
No description provided by the author
# Constants
No description provided by the author
StandardScryptN is the N parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.
StandardScryptP is the P parameter of Scrypt encryption algorithm, using 256MB memory and taking approximately 1s CPU time on a modern processor.
number of bits in a big.Word.
number of bytes in a big.Word.
number of bytes in a vm word.
# Variables
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
No description provided by the author
No description provided by the author
No description provided by the author