Skip to content

Latest commit

 

History

History
105 lines (73 loc) · 1.67 KB

README.md

File metadata and controls

105 lines (73 loc) · 1.67 KB

sub64

praiselang is a lightweight encryption/decryption algorithm that uses Base64 and praiselang substitution algorithm together.

YouTube: https://www.youtube.com/watch?v=0gjHvFUlF_8

Programming Language and Tools

Programming Language: C, Bash
Compiler: GNU GCC
Build Tool: CMake

Dependencies

CMake (MIN 3.22)

Installation

Step 1: Download the Source codes

https://github.com/MertGunduz/praiselang

Step 2: Change permissions of INSTALL.sh

chmod 755 INSTALL.sh

running this command will change the permission of the INSTALL.sh

Step 3: Run INSTALL.sh

./INSTALL.sh

running this bash file will build the application

Note: it can ask for sudo permission

Step 4: Test Application

try running

praiselang -h

if there are some output related to praiselang then it means it is successfully builded

How to use

Encrypting Text

praiselang -e [DATA]
praiselang --encrypt [DATA]

encrypts the given data

Decrypting Text

praiselang -d [DATA]
praiselang --decrypt [DATA]

decrypts the given encrypted data

Help

praiselang -h
praiselang --help

outputs a detailed manuel about praiselang

Showing Version

praiselang -v
praiselang --version

outputs the version of praiselang

Showing Github

praiselang -g
praiselang --github

outputs the source code link of praiselang

Encryption/Decryption Examples

Encrypting String

praiselang -e hello

OUTPUT:

Tmljb25NZWdhbGVzaXVzQXN0YXJvdGhBc3Rhcm90aFNvbmVpbGxvbg==

Decrypting String

praiselang -d Tmljb25NZWdhbGVzaXVzQXN0YXJvdGhBc3Rhcm90aFNvbmVpbGxvbg==

OUTPUT:

hello