https://github.com/majormilk/random-walk-lattice-cipher
An experimental symmetric encryption algorithm inspired by lattice based cryptographic techniques.
https://github.com/majormilk/random-walk-lattice-cipher
decryption encryption encryption-decryption experimental lattice lattice-based-crypto random-walk symmetric-cryptography symmetric-encryption symmetric-key-cryptography
Last synced: 3 months ago
JSON representation
An experimental symmetric encryption algorithm inspired by lattice based cryptographic techniques.
- Host: GitHub
- URL: https://github.com/majormilk/random-walk-lattice-cipher
- Owner: MajorMilk
- License: mit
- Created: 2025-03-10T20:48:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T01:41:13.000Z (over 1 year ago)
- Last Synced: 2025-12-26T06:50:04.341Z (7 months ago)
- Topics: decryption, encryption, encryption-decryption, experimental, lattice, lattice-based-crypto, random-walk, symmetric-cryptography, symmetric-encryption, symmetric-key-cryptography
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Walk Lattice Cipher
Pretty simple to use, only a few functions. Relies on passwords and a secure hashing algorithm of your choice (SHA-256 is used in this example), it could also be stretched using Bcrypt or Argon2.
## Details
- Takes place on an N-Dimensional lattice
- Using a random number generator seeded by a password, a point on this lattice is randomly chosen for each character input that is dependant on that last random point
- The sum of that points vector components are taken, and the character is then xor'd using the same sum.
- decryption happens in reverse
- This is a very rough implementation of this idea. This current implementation uses a simple addition with xor. This causes malformed characters of more than 2 bytes to be produced, causing bloating.