2025-05-16 21:48:17 +07:00
2025-05-16 21:48:17 +07:00
2025-05-16 22:58:17 +07:00
2025-05-16 22:58:17 +07:00

asscryption

Proof-of-concept random key-based text transformer.

Usage

Encrypt

python main.py encrypt <filein> <target> [--seed SEED] > keyfile
  • filein: Input text file (plaintext)
  • target: Target text file (what you want to transform to)
  • --seed: (Optional) Random seed for reproducibility
  • keyfile: Output key file (redirect stdout)

Decrypt

python main.py decrypt <filein> <keyfile>
  • filein: Input text file (should match the input used in encrypt)
  • keyfile: Key file produced during encryption

Example

python main.py encrypt message.txt target.txt --seed 42 > mykey.txt
python main.py decrypt message.txt mykey.txt > reconstructed_target.txt

NOTE: This is a proof-of-concept. The "key" is printed to stdout during encryption. The target file must exist.


Version 1

S
Description
i demand a gist service rn
Readme MIT
45 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%