checksums.sha.private vocabulary
Factor handbook > Vocabulary index


Summary
checksums.sha.private vocabulary

Words

Tuple classes
ClassSuperclassSlots
sha-224-state sha2-short
sha-256-state sha2-short
sha1-state block-checksum-stateK H W word-size
sha2-long sha2-state
sha2-short sha2-state
sha2-state block-checksum-stateK H word-size


Generic words
WordStack effect
pad-initial-bytes( string sha2 -- padded-string )


Ordinary words
WordStack effect
<sha-224-state>( -- sha2-state )
<sha-256-state>( -- sha2-state )
<sha1-state>( -- sha1-state )
K-256( -- value )
K-384( -- value )
K-512( -- value )
K-sha1( -- value )
S0-256( x -- x' )
S0-512( x -- x' )
S1-256( x -- x' )
S1-512( x -- x' )
T1-256( n M H sha2 -- T1 )
T1-512( n M H sha2 -- T1 )
T2-256( H -- T2 )
T2-512( H -- T2 )
a( -- value )
b( -- value )
c( -- value )
ch( x y z -- x' )
d( -- value )
e( -- value )
f( -- value )
g( -- value )
h( -- value )
initial-H-224( -- value )
initial-H-256( -- value )
initial-H-384( -- value )
initial-H-512( -- value )
initial-H-sha1( -- value )
inner-loop( n H W K -- temp )
maj( x y z -- x' )
pad-last-short-block( state -- )
prepare-M-256( n seq -- )
prepare-M-512( n seq -- )
prepare-message-schedule( seq sha2 -- w-seq )
prepare-sha1-message-schedule( seq -- w-seq )
process-chunk( M block-size cloned-H sha2 -- )
process-sha1-chunk( H W K state -- )
s0-256( x -- x' )
s0-512( x -- x' )
s1-256( x -- x' )
s1-512( x -- x' )
sequence>byte-array( seq n -- bytes )
sha-224>checksum( sha2 -- bytes )
sha-256>checksum( sha2 -- bytes )
sha1-W( t seq -- )
sha1-f( B C D n -- f_nbcd )
sha1>checksum( sha2 -- bytes )
slice3( n seq -- a b c )
update-H( T1 T2 H -- )


Class predicate words
WordStack effect
sha-224-state?( object -- ? )
sha-256-state?( object -- ? )
sha1-state?( object -- ? )
sha2-long?( object -- ? )
sha2-short?( object -- ? )
sha2-state?( object -- ? )