Handbook
Glossary
checksum
Factor handbook
»
Input and output
»
Checksums
Next:
checksum-bytes ( bytes checksum -- value )
Vocabulary
checksums
Class description
The class of checksum algorithms.
Definition
USING:
checksums.adler-32
checksums.bsd
checksums.common
checksums.crc16
checksums.crc32
checksums.fletcher
checksums.fnv1
checksums.internet
checksums.khash
checksums.metrohash
checksums.murmur
checksums.null
checksums.xxhash
;
IN:
checksums
MIXIN:
checksum
INSTANCE:
crc32
checksum
INSTANCE:
block-checksum
checksum
INSTANCE:
adler-32
checksum
INSTANCE:
bsd
checksum
INSTANCE:
crc16
checksum
INSTANCE:
fletcher-16
checksum
INSTANCE:
fletcher-32
checksum
INSTANCE:
fletcher-64
checksum
INSTANCE:
fnv1-32
checksum
INSTANCE:
fnv1a-32
checksum
INSTANCE:
fnv1-64
checksum
INSTANCE:
fnv1a-64
checksum
INSTANCE:
fnv1-128
checksum
INSTANCE:
fnv1a-128
checksum
INSTANCE:
fnv1-256
checksum
INSTANCE:
fnv1a-256
checksum
INSTANCE:
fnv1-512
checksum
INSTANCE:
fnv1a-512
checksum
INSTANCE:
fnv1-1024
checksum
INSTANCE:
fnv1a-1024
checksum
INSTANCE:
internet
checksum
INSTANCE:
metrohash-64
checksum
INSTANCE:
metrohash-128
checksum
INSTANCE:
murmur3-32
checksum
INSTANCE:
null
checksum
INSTANCE:
xxhash
checksum
INSTANCE:
khash64
checksum
Methods
USING:
checksums
io.encodings.binary
io.streams.byte-array
kernel
;
M:
checksum
checksum-bytes
[
binary
<byte-reader>
]
dip
checksum-stream
;
USING:
checksums
kernel
sequences
;
M:
checksum
checksum-lines
[
B{
10
}
join
]
dip
checksum-bytes
;
USING:
checksums
io
kernel
;
M:
checksum
checksum-stream
[
stream-contents
]
dip
checksum-bytes
;
USING:
accessors
checksums
kernel
;
M:
checksum
initialize-checksum-state
checksum-state
new-checksum-state
swap
>>checksum
;