"Hashcash is a denial-of-service counter measure tool."
$nl
"A hashcash stamp constitutes a proof-of-work which takes a parameterizable amount of work to compute for the sender. The recipient can verify received hashcash stamps efficiently."
{ $description "It generates a random string of " { $snippet "length" } " characters." } ;
HELP:<hashcash>
{ $values { "tuple"object } }
{ $description "It fill an hashcash tuple with the default values: 1 as hashcash version, 20 as bits, today's date as date and a random 8 character long salt" } ;
HELP:hashcash
{ $class-description "An hashcash object. An hashcash have the following slots:"
{ $table
{ { $slot "version" } "The version number. Only version 1 is supported." }
{ { $slot "bits" } "The claimed bit value." }
{ { $slot "date" } "The date a stamp was minted." }
{ { $slot "resource" } "The resource for which a stamp is minted." }
{ { $slot "ext" } "Extensions that a specialized application may want." }
{ { $slot "salt" } "A random salt." }
{ { $slot "suffix" } "The computed suffix. This is supposed to be manipulated by the library." }