Encrypt files into DNA chromosomes! 🧬
This project can:
- Read/Write DNACrypt Key files
- Generate Key files
- Encrypt/Decrypt Files
- Read the file and key file
- Parse every key
- Shift every byte in the file with the corresponding key
- Transform every byte into
AT
orGC
- Add random bytes
- Write to file
- Read the file and key file
- Discard random bytes
- parse the remaining DNA bytes into numbers
- Parse every key
- Un-shift each byte with the corresponding key
- Write to file
- Generate
n
random integers from 0 to 10 - Transform each of the integers,
i
toi
0s and10 - i
1s - Transform each 0 to
AT
and 1 toGC
- Add random bytes and a version header
- Write to a key file
- Read the key file
- Discard random bytes
- Transform each
AT
to 0 andGC
to 1 - Transform the Os and 1s to a binary string , then convert to decimal
This project is licensed under the MIT License