checksums.common vocabulary
Factor handbook > Vocabulary index


Summary
Some code shared by MD5, SHA1 and SHA2 implementations

Meta-data
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
block-checksum-state checksum-statebytes-read block-size


Mixin classes
block-checksum


Generic words
WordStack effect
checksum-block( bytes checksum-state -- )


Ordinary words
WordStack effect
calculate-pad-length( length -- length' )
pad-last-block( bytes big-endian? length -- blocks )


Class predicate words
WordStack effect
block-checksum-state?( object -- ? )
block-checksum?( object -- ? )


Files