https://github.com/cuhsat/spritz.java
A Spritz cipher implementation in pure Java.
https://github.com/cuhsat/spritz.java
algorithm cryptography java spritz
Last synced: 3 months ago
JSON representation
A Spritz cipher implementation in pure Java.
- Host: GitHub
- URL: https://github.com/cuhsat/spritz.java
- Owner: cuhsat
- License: unlicense
- Created: 2022-06-27T12:27:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T14:01:10.000Z (about 3 years ago)
- Last Synced: 2025-02-03T22:43:15.550Z (5 months ago)
- Topics: algorithm, cryptography, java, spritz
- Language: Java
- Homepage:
- Size: 466 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Spritz.java
A Spritz cipher implementation in pure Java.Spritz is a RC4 redesign by *Ron Rivest* and *Jacob Schuldt*
[(PDF)](doc/RS14.pdf).# Exports
## Encryption
* `Spritz.encrypt(text, key)`
* `Spritz.encrypt(text, key, iv)`## Decryption
* `Spritz.decrypt(text, key)`
* `Spritz.decrypt(text, key, iv)`## Hash
* `Spritz.hash(message, digest)`## MAC
* `Spritz.mac(message, key, code)`## PRNG
* `Spritz.random()`
* `Spritz.randomSeed(seed)`# License
Release into the [Public Domain](LICENSE.txt).