Updated Tutorial: Using Juliar’s Encryption Module

May 20, 2016 | Views: 3637

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Welcome to the second version of my Juliar Encryption Module tutorial…

The Juliar language has matured a lot since my last tutorial, so I decided to update it.

In this tutorial, we’ll be learning several new security commands recently introduced to the Juliar Encryption Module. In order to follow this tutorial, you must have the latest version of Juliar files on your computer.  You can download them at: www.github.com/juliarLang/juliarLang/juliar

Once you’ve extracted the files, go to the “WebClient” folder and double-click on JuliarServer.exe if you’re on Windows. If you’re on Windows, a browser window should appear with a page stating “Welcome to Juliar.” Drag and drop the files to the Apache “www” folder if you’re on Linux.

For this exercise, we’ll  use Juliar interpreter.

Type the following into the interpreter:

*import encryption *

This command will import encryption module. If everything went correctly, you should see:

Successfully imported module ‘encryption’

That means we imported everything correctly! If you see an error…then you probably did something wrong or you’re reading this guide at a future time, where the structure has changed.

 

Let’s view all encryption commands by typing:

*commands=encryption *

We should get a list of commands. At the time of writing this tutorial, I get the following commands:

*affine * >> IMPORTED from encryption level: 4
*cipherreverse * >> IMPORTED from encryption level: 4
*decrypt * >> IMPORTED from encryption level: 4
*encrypt * >> IMPORTED from encryption level: 4
*l33tencode * >> IMPORTED from encryption level: 4
*md5 * >> IMPORTED from encryption level: 4
*password * >> IMPORTED from encryption level: 4
*rot * >> IMPORTED from encryption level: 4
*subcipher * >> IMPORTED from encryption level: 4
*unaffine * >> IMPORTED from encryption level: 4
*unrot * >> IMPORTED from encryption level: 4
*unsubcipher * >> IMPORTED from encryption level: 4

 

Let’s start with l33tencode. l33tencode will encode your words into l33tspeak. It’s useful for quickly generating l33t language.

Example:
*l33tencode hello *

Produces:
{-}3|10

 

md5 will encode your words into md5 codec.

Example:
*md5 hello *

Produces:
12eca6f25b6b7b5d14f2bc45cd90cc4

 

encrypt will encrypt your words using blowfish. To set the key specify as a param:

Example:
*encrypt=key hello *

Produces:
E922208C867786F3

 

We can decrypt this function by doing this:

Example:
*decrypt=key E922208C867786F3 *

Produces:
Hello

NOTE: You must have a correct key, otherwise you’ll get gibberish.

 

rot uses a simple rotation cipher (i.e. Caesar cipher) to rotate words by amount specified:

Example:
*rot=3 hello *

Produces:
khoor

 

unrot reverses the rotation cipher:

Example:
*unrot=3 khoor *

Produces:
hello

 

password generates a secure password:

Example:
*password *

 

Here are some other fun ones:

*affine * and *unaffine * uses the affine algorithm to encrypt/decrypt words.

Example:

*affine=3 hello *

Produces:

duppy

Example:

*unaffine=3 duppy *

Produces:

hello

 

*subcipher * and *unsubcipher * is a substitution cipher:

Example:

*subcipher=l,a hello *

Produces:

heaao

Example:

*unsubcipher=a,l heaao *

Produces:

hello

*cipherreverse * reverses the cipher:

Example:

*cipherreverse hello *

Produces:

olleh

 

Feel free to add other cipher suggestions, and I’ll add them to the next module.

Updated Tutorial: Using Juliar's Encryption Module - Cybrary

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
7 Comments
  1. I am unable to download anything from: “http://www.github.com/juliarLang/juliarLang/juliar”

  2. It is really source. I converted this as a PDF page. Thanks to your hands.

Page 2 of 2«12
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel