Libraries
bignum
binary
bitmap
ble
bytes
core
crypto
adler32
aes
blake2
chacha20
checksum
cmac
crc
ec
hamming
hkdf
hmac
md5
rsa
sha
sha1
sha256
siphash
device
encoding
esp32
expect
fixed-point
flash
font
gpio
i2c
i2s
icons
io
line-wrap
log
math
monitor
net
pulse-counter
reader
reader-writer
rmt
serial
spi
statistics
system
tls
uart
uuid
writer
zlib
Library adler32
To use this library in your code:
import crypto.adler32
Support for the Adler-32 checksum algorithm (
https://en.wikipedia.org/wiki/Adler-32
).
Adler-32 is a rolling checksum, so it is both possible to add to (
Adler32.add
) and remove from (Adler32.unadd) the collection of checksummed data.
This implementation uses native primitives.
Classes
Adler32
Checksummer that implements Adler-32.
Functions
adler32
data/
Data
from/
int
=
0
to/
int
=
data.byte-size
->
ByteArray
Computes the Adler32 checksum of the given
data
.