README update

This commit is contained in:
2026-04-28 09:23:49 +02:00
parent e590d55121
commit 179036642e
+18 -1
View File
@@ -1,4 +1,21 @@
## TETRA_CRYPTO
# TETRA_CRYPTO
Implementation of TEA-1 and TEA-3 in rust.
Based on "Observations on TETRA Encryption Algorithm TEA-3", "ETSI TS 104 053-1, TETRA Air Interface Security, Algorithms Specifications" and [Midnight Blue's C code](https://github.com/MidnightBlueLabs/TETRA_crypto)
## tests and build
```bash
cargo test
cargo build --release
```
## commands
| Command | Description |
|------------------|----------------------------------------------------------|
| lfsr | Test the LFSR |
| tea1 | Test TEA-1 attack |
| tea3 | Test TEA-3 keystream and encryption/decryption |
| periods | Test for periods in TEA-3 register h |
| greatest-period | Search for greatest period in TEA-3 register h |