An open API service indexing awesome lists of open source software.

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.

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.