ak-encoder-decoder

A Python based encoding and decoding tool for texts and secrets with executables provided for Windows and Linux.

APACHE-2.0 License

Stars
6

AK Encoder Decoder v1.0

Introduction

A Python based encoding and decoding tool for texts and secrets with executables provided for Windows and Linux.

Prerequisites

  • Python 2.7+ Installed
  • Pass code used by AK Encoder Decoder is stored in an environment variables. It should be a string. String can have alphabets numbers and special characters. Recommended length is 13 characters to avoid code cracking via brute force attack.
  • To set pass code in Linux via Terminal:
    Syntax:
    $ export AK_ENCODER_DECODER_PASS_KEY="<integer_string>"
    
    Example:
    $ export AK_ENCODER_DECODER_PASS_KEY="ABC@123"
    
    To set pass code in Windows via CMD:
    Syntax:
    > set AK_ENCODER_DECODER_PASS_KEY="<integer_string>"
    
    Example:
    > set AK_ENCODER_DECODER_PASS_KEY=ABC@123
    

Warning: Share the pass code only with the receiver of the encoded messages so that person can decode them.

Usage Notes

  • To encode a string in Linux via Terminal: Syntax:

    $ ./akencoderdecoder 0 <string>
    

    Example:

    $ ./akencoderdecoder 0 "Hello World!"
    
  • To encode a string in Windows via CMD: Syntax:

    > akencoderdecoder.exe 0 <string>
    

    Example:

    > akencoderdecoder.exe 0 "Hello World!"
    
  • To decode a string in Linux via Terminal: Syntax:

    $ ./akencoderdecoder 1 <encoded-string>
    

    Example:

    $ ./akencoderdecoder 1 "12O7O8O2"
    
  • To decode a string in Windows via CMD: Syntax:

    > akencoderdecoder.exe 1 <encoded_string>
    

    Example:

    > akencoderdecoder.exe "12O7O8O2"