const Version = "0.9.0-dev"
This only uses the OS's randomness
CRandHex returns a hex encoded string that's floor(numDigits/2) * 2 long.
Note: CRandHex(24) gives 96 bits of randomness that are usually strong enough for most purposes.
Returns a crand.Reader.
sum := crypto.Sha256(byte("This is Tendermint")) fmt.Printf("%x\n", sum)
An address is a byte, but hex-encoded even in JSON. byte leaves us the option to change the address length. Use an alias so Unmarshal methods (with ptr receivers) are available too.
|merkle||Package merkle computes a deterministic minimal height Merkle tree hash.|
|xchacha20poly1305||Package xchacha20poly1305 creates an AEAD using hchacha, chacha, and poly1305 This allows for randomized nonces to be used in conjunction with chacha.|