# 1. Encrypt the Information using Various Cryptography Tools

## <mark style="color:red;">1. Calculate hash using hashcalc</mark>

{% embed url="<https://www.slavasoft.com/download.htm>" %}

<figure><img src="/files/yKAZzNpUb9oQ0fMeikZi" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">2. Calculate MD5 hashes using md5 calculator</mark>

{% embed url="<https://md5calculator.com/>" %}

<figure><img src="/files/J0FDb7VWZi5BwLaMSSbW" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">3. Calculate MD5 hashes using HashmyFiles</mark>

{% embed url="<https://www.nirsoft.net/utils/hash_my_files.html>" %}

<figure><img src="/files/1NevaZHlRBHDsRbOZdFU" alt=""><figcaption></figcaption></figure>

## 4. Perform File and Text Message  Encryption using cryptoforge

CryptoForge is a file encryption software for personal and professional data security. It allows you to protect the privacy of sensitive files, folders, or email messages by encrypting them with strong encryption algorithms. Once the information has been encrypted, it can be stored on insecure media or transmitted on an insecure network—

{% embed url="<https://www.cryptoforge.com/>" %}

**After encryption, extension changes to cfe. a copy of file is made in the same location.**

Navigate to file. Right click it and select to encrypt. Give it a password and its encrypted

<figure><img src="/files/usTiAZVeThjw8ke54L2O" alt=""><figcaption></figcaption></figure>

Navigate to encrypted file, Right click to decrypt it

<figure><img src="/files/RyDPZJOGG3KTwvTsG6w7" alt=""><figcaption></figcaption></figure>

There is also cryptoforge text, that encrypts the text with password. Type a message and click **Encrypt** from the toolbar.

<figure><img src="/files/H4b8HKBn9iPcHHmaYvwL" alt=""><figcaption></figcaption></figure>

The **Enter Passphrase - CryptoForge Text** dialog-box appears; type a password in the **Passphrase** field, retype it in the **Confirm** field, and click **OK**.&#x20;

<figure><img src="/files/tChEX4mFuBfAhaxrbjj7" alt=""><figcaption></figcaption></figure>

The message that you have typed will be encrypted.

Similarly, you can decrypt it.

## <mark style="color:red;">5. Perform File encryption using Advanced encryption package</mark>

{% embed url="<https://www.aeppro.com/>" %}

Extension changes to aep

Navigate to file. Give it a password and click to encrypt.

<figure><img src="/files/LnFJ5948hqL68z4IFity" alt=""><figcaption></figcaption></figure>

Navigate to encrypted file, provide the password and click to decrypt.

<figure><img src="/files/EBiHp224oXKaf5BcjUC9" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">6. Encrypt and Decrypt data using BCtextEncoder</mark>

{% embed url="<https://www.jetico.com/free-security-tools/encrypt-text-bctextencoder>" %}

**Encrypts with password with AES**

<figure><img src="/files/8pCV7oV8tDccHiAZxV9J" alt=""><figcaption></figcaption></figure>

For decoding, paste the encoded text and click decode.

<figure><img src="/files/WdQliDbrXPcTOSg1J1ck" alt=""><figcaption></figcaption></figure>

## 6. Perform Multi-layer Hashing using CyberChef <a href="#task-1-perform-multi-layer-hashing-using-cyberchef" id="task-1-perform-multi-layer-hashing-using-cyberchef"></a>

CyberChef enables a wide array of "cyber" tasks directly in browser. It offers a wide range of operations and transformations, from basic text manipulation to complex cryptographic functions which include various hashing techniques such as MD5, SHA-1, SHA-256, SHA-512, etc., and encoding techniques such as text to hexadecimal, binary, Base64, or URL encoding.

A multi-layer hash typically refers to a hierarchical or nested structure of hash functions applied successively to data. Instead of just applying a single hash function to a piece of data, multiple hash functions are employed in layers or stages, with the output of one hash function serving as the input to the next one.

Create a new text file **Secret.txt** and open it. Write some text in it (here, **My Account number is 0234569198**) and press **Ctrl+S** to save the file. Close the text file.

Launch any web browser, and visit

{% embed url="<https://gchq.github.io/CyberChef/>" %}

CyberChef website appears, click on **Open file as input** button present at the top of the **Input** section. Upload the file.

The contents of the **Secret.txt** file will be displayed in the **Input** window.

<figure><img src="/files/nf1iEofvrfXJl4AfiaYZ" alt=""><figcaption></figcaption></figure>

Now, we will calculate MD5 hash of the **Secret.txt** file, to do so, in the search field present under **Operations** section, type md5 and drag **MD5** from the results in the **Operations** section in to the **Recipe** section.Alternatively, you can expand **Hashing** node in the **Operations** section and select **MD5** algorithm.

The tool calculates the **MD5** hash of the given input file and displays the output in the **Output** section.

Similarly, You can calculate different types of Hashes.

### CEH v13 Practical Preparation Course

{% embed url="<https://www.udemy.com/course/ethical-hacker-practical/?referralCode=289CF01CF51246BCAD6C>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ceh-practical.cavementech.com/module-20.-cryptography/1.-encrypt-the-information-using-various-cryptography-tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
