Handbook
Glossary
initialize-checksum-state ( checksum -- checksum-state )
Factor handbook
»
Input and output
»
Checksums
Prev:
checksum-file ( path checksum -- value )
Next:
add-checksum-bytes ( checksum-state data -- checksum-state )
Vocabulary
checksums
Inputs
checksum
an
object
Outputs
checksum-state
an
object
Definition
IN:
checksums
GENERIC:
initialize-checksum-state
( checksum -- checksum-state )
Methods
USING:
accessors
checksums
checksums.process
destructors
io.encodings.binary
io.launcher
kernel
;
M:
checksum-process
initialize-checksum-state
launch-desc>>
binary
<process-stream>
process-state
new-disposable
swap
>>process
;
USING:
accessors
checksums
kernel
;
M:
checksum
initialize-checksum-state
checksum-state
new-checksum-state
swap
>>checksum
;
USING:
checksums
checksums.md5
kernel
;
M:
md5
initialize-checksum-state
drop
<md5-state>
;
USING:
accessors
checksums
checksums.multi
destructors
kernel
sequences
;
M:
multi-checksum
initialize-checksum-state
checksums>>
[
initialize-checksum-state
]
map
multi-state
new-disposable
swap
>>states
;
USING:
accessors
checksums
checksums.openssl
checksums.openssl.private
kernel
openssl
;
M:
openssl-checksum
initialize-checksum-state
maybe-init-ssl
name>>
<evp-md-context>
[
set-digest
]
keep
;
USING:
checksums
checksums.ripemd
kernel
;
M:
ripemd-160
initialize-checksum-state
drop
<ripemd-160-state>
;
USING:
checksums
checksums.sha
checksums.sha.private
kernel
;
M:
sha-224
initialize-checksum-state
drop
<sha-224-state>
;
USING:
checksums
checksums.sha
checksums.sha.private
kernel
;
M:
sha-256
initialize-checksum-state
drop
<sha-256-state>
;
USING:
checksums
checksums.sha
checksums.sha.private
kernel
;
M:
sha1
initialize-checksum-state
drop
<sha1-state>
;