Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 638 Bytes

File metadata and controls

28 lines (26 loc) · 638 Bytes

CryptoGodel

Cryptography algorithm based on Gödel numbering

Encryption

godel4.py -e somefile

or

godel8.py -e somefile

Each byte is encoded by Gödel numbering. Then, chunk of the encoded byte's number is stored in a way that

  • a chunk in an even index is stored in big endian
  • a chunk in an even index is stored in little endian

Decryption

godel4.py -d somefile

or

godel8.py -d somefile

Each chunk of each byte is retrieved in big endian or in little endian according to it's position. Then, the chunks merge into a number that will be decoded by Gödel numbering.