Files
inzerosight/docs/cipher.md
multipleof4 0f67ad22ef Modify cipher test sentence for clarity
Updated cipher test sentence with additional characters.
2026-09-12 18:54:11 -07:00

14 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Encryption
### PLAIN
No encryption. Encodes text directly.
### SPECK32/64 ECB
Block cipher in ECB mode. Each character is encrypted independently — identical plaintext characters produce identical ciphertext. Useful when you want varied-looking output from the same input, but **not secure under real threat models** since patterns in the plaintext leak through.
### SPECK48/96 CTR
Stream cipher mode with a random 24-bit nonce prepended to the output. Identical plaintexts produce different ciphertexts each time. Significantly more secure than ECB. **Rotate your password after roughly every 100 encryptions** to avoid nonce reuse risk within the 24-bit space.
---
Cipher test. Decrypt this sentence with the password 123­­­­­­­­­­­­­­­­­­­­­­­­­­.