Handbook
Glossary
S0-256 ( x -- x' )
Vocabulary
checksums
.
sha
.
private
Inputs
x
an
object
Outputs
x'
an
object
Definition
USING:
combinators.smart
kernel
math
math.bitwise
;
IN:
checksums.sha.private
:
S0-256
( x -- x' )
[
[
-2
bitroll-32
]
[
-13
bitroll-32
]
[
-22
bitroll-32
]
tri
]
[
bitxor
]
reduce-outputs
;
inline