Handbook
Glossary
lastn-digits ( n digits -- string )
Hashcash
Prev:
timestamp>yymmdd ( timestamp -- yymmdd: string )
Vocabulary
hashcash
.
private
Inputs
n
an
object
digits
an
object
Outputs
string
an
object
Definition
USING:
kernel
math.parser
sequences
;
IN:
hashcash.private
:
lastn-digits
( n digits -- string )
[
number>string
]
dip
[
48
pad-head
]
keep
tail*
;