Skip to content

Stepainpy/rtea-encryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTEA encryptor

Warning

This program is not intended to provide true protection against real-world attacks. Instead, it serves as a demonstration of the algorithm and encryption method.

Implementation of file encryptor with algorithm RTEA-256 and mode PCBC.

Usage

$ rt256 <-e|-d> <key> <filename>
  • -e/-d - switch en/decryption mode.
  • <key> - secret 256-bit key in Base64.
  • <filename> - path to input file (any or .rtea).

Output file names

If is encryption, then add .rtea extention (<filename> -> <filename>.rtea). If is decryption, then remove last extention (<filename>.* -> <filename>), but not have extention, raise error.

About

Simple RTEA encryptor

Topics

Resources

License

Stars

Watchers

Forks

Contributors