Documentation ¶
Index ¶
Constants ¶
View Source
const ( Fork = iota + 1 Sha1 Sha256 Keccak256 Ripemd160 Append Prepend Attestation )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Op ¶
Op is the type of an operation done on a timestamp.
func NewOpAppend ¶
NewOpAppend append a byte array to the byte array.
func NewOpKeccak256 ¶
func NewOpKeccak256() *Op
NewOpKeccak256 is the sha3.Sum256 operation checkSum.
func NewOpPrepend ¶
NewOpPrepend prepend a byte array to the byte array.
func NewOpRipemd160 ¶
func NewOpRipemd160() *Op
NewOpRipemd160 is the sha256 operation checkSum. golang/x/crypto Ripemd160 does not return error, Output of hash.Write can be ignored.
Click to show internal directories.
Click to hide internal directories.