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 sha1
To use this library in your code:
import crypto.sha1
Secure Hash Algorithm 1 (SHA-1).
This implementation uses hardware accelerated primitives.
See
https://en.wikipedia.org/wiki/SHA-1
.
Classes
Sha1
SHA-1 hash state.
Functions
sha1
data/
Data
from/
int
=
0
to/
int
=
data.byte-size
->
ByteArray
Calculates the SHA-1 hash of the given
data
.