Spritz encryption system portable C library, CSPRNG, cryptographic hash and MAC functions, symmetric-key data encryption, and general-purpose functions. It's also an Arduino library.
About this project
Spritz Library For Arduino Spritz - a spongy RC4-like stream cipher and hash function. This library contains a cryptographic pseudo-random number generator, cryptographic hash and message authentication code (MAC) functions, can perform symmetric-key authenticated data encryption, and general-purpose functions for timing-safe comparison and wiping data from memory. This C Spritz library can be used to: Hash and authenticate data. Perform symmetric-key authenticated data encryption. Generate random numbers and strings from entropy/seed. This library's GitHub repository. This library's Bitbucket repository (Backup). Spritz paper: Library Content Read the source code for details. Types spritzctx - The context/ctx (contains the state). The state consists of byte registers {i, j, k, z, w, a}, And an array {s} containing a permutation of {0, 1, ... , SPRITZN-1}. uint8t - unsigned integer type with width of 8-bit, MIN=0;MAX=255. uint16t - unsigned integer type with width of 16-bit, MIN=0;MAX=65,535. uint32t - unsigned integer type with width of 32-bit, MIN=0;MAX=4,294,967,295. Functions Timing-safe comparison for dataa and datab equality.
From the project README on
GitHub
Add this badge to your README
Show that your project is listed on Made in Algeria.
[](https://www.madeinalgeria.dev/projects/arduinospritzcipher)