VocabularyhashcashInputsOutputsWord descriptionThis word generates a valid stamp with default parameters and the specified resource.
ExamplesGenerate a valid stampThe value
foo@bar.com represents the resource string. The generated stamp is pushed on the data stack.
USING: hashcash ;
"foo@bar.com" mint
--- Data stack:
1:20:220401:foo@bar.com::^Xt'xHT;:1eab9d
Generated stamp tabulated for better readability:
version | 1 |
bits | 20 |
date | 220401 |
resource | foo@bar.com |
salt | ^Xt'xHT;:1eab9d |
NotesExamples of common resource strings:
• | IP address |
• | E-mail address |
Definition