Documentation ¶
Overview ¶
Package hashcash provides an implementation of Hashcash version 1 algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
Hash provides an implementation of hashcash v1.
func NewStd ¶
func NewStd() *Hash
NewStd creates a new Hash with 20 bits of collision and 8 bytes of salt chars.
func (*Hash) CheckNoDate ¶
CheckNoDate checks whether a hashcash stamp is valid ignoring date.
Click to show internal directories.
Click to hide internal directories.