Handbook
Glossary
sha1-string? ( str -- ? )
Hex Strings
Prev:
md5-string? ( str -- ? )
Next:
sha224-string? ( str -- ? )
Vocabulary
hex-strings
Inputs
str
an
object
Outputs
?
an
object
Definition
USING:
combinators.short-circuit
kernel
sequences
;
IN:
hex-strings
:
sha1-string?
( str -- ? )
{
[
length
40
=
]
[
hex-string?
]
}
1&&
;