# Cryptography

<figure><img src="https://1680260334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuyv6WKxbnPSm2zlRacJi%2Fuploads%2FhE2ahCEXVKl2YIdfqqFf%2Fimage.png?alt=media&#x26;token=e0cb4641-7a0b-4c14-9911-ae0e54290b8d" alt=""><figcaption></figcaption></figure>

## Introduction

Cryptography is the science of protecting information by transforming it into a secure format. This process, called encryption, has been used for centuries to prevent handwritten messages from being read by unintended recipients. Today, cryptography is used to protect digital data. It is a division of computer science that focuses on transforming data into formats that cannot be recognized by unauthorized users.&#x20;

An example of basic cryptography is an encrypted message in which letters are replaced with other characters. To decode the encrypted contents, you would need a grid or table that defines how the letters are transposed.&#x20;

For example, the translation grid below could be used to decode <mark style="color:orange;">**"**</mark><mark style="color:orange;">aHR0cHM6Ly9sb2xpdGVhbS5uZXQv</mark><mark style="color:orange;">**"**</mark> **as&#x20;**<mark style="color:purple;">**"**</mark>[<mark style="color:purple;">**https://loliteam.net/**</mark>](https://loliteam.net/)<mark style="color:purple;">**"**</mark>.

## Tools

### Calculate One-way Hashes using HashClac

* You may use this tool to calculate the **MD5 hashes**

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

### Calculate MD5 Hashes using MD5 Calculator

* Use this tool to compare the hashes with other hashes

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

### Calculate MD5 hashes for files using HashMyFiles

HashMyFiles is a small utility that allows you to calculate the MD5 and SHA1 hashes of one or more files in your system.

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

## Perform File and Text Message Encryption using CryptoForge

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

### Perform File Encryption using Advanced Encryption Package

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

### Encrypt and Decrypt messages using BCText Encoder

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

### Perform Disk Encryption Using VeraCrypt

VeraCrypt is an open-source utility for on-the-fly encryption. The software can create a virtual encrypted disk that works just like a regular disk but within a file. It can also encrypt a partition or the entire storage device with pre-boot authentication. VeraCrypt is a fork of the discontinued TrueCrypt project

* **Creating an encrypted VeraCrypt volume File**

  * Open the application and click “Create Volume”.
  * tap on “Create an Encrypted File Container”.
  * Select a path where the volume has to be saved.
  * Now, mention the volume size.
  * Set a password for the encrypted volume file.
  * For file system format we can set as “FAT“ and cluster as “Default”.

* **Mounting the Encrypted file into a Volume**

  * Select any volume of your choice.
  * Select the VeraCrypt volume created before to be added.
  * Select Mount and it may prompt for a password.

* **Uploading Files into VeraCrypt Virtual Encrypted Volume**

  * Create/Copy/Move the files into the Volume which you choose for mounting.
  * Paste all your confidential files inside that virtual volume.
  * Once completed, open the VeraCrypt application and then press “Dismount”.

{% embed url="<https://www.veracrypt.fr/en/Home.html>" %}

### Bitlocker

BitLocker Drive Encryption is a data protection feature that integrates with the operating system and addresses the threats of data theft or exposure from lost, stolen, or inappropriately decommissioned computers.

BitLocker provides the most protection when used with a Trusted Platform Module (TPM) version 1.2 or later. The TPM is a hardware component installed in many newer computers by the computer manufacturers. It works with BitLocker to help protect user data and to ensure that a computer has not been tampered with while the system was offline.

{% embed url="<https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/bitlocker-overview>" %}
Official Link of Microsoft
{% endembed %}

### Rohos Disk Encryption

{% embed url="<https://www.rohos.com/products/rohos-disk-encryption>" %}

### Cryptool

CrypTool is an open-source project that is a free e-learning software for illustrating cryptographic and cryptanalytic concepts. According to "Hakin9", CrypTool is worldwide the most widespread e-learning software in the field of cryptology. CrypTool implements more than **400 algorithms.**

{% embed url="<https://www.cryptool.org/en>" %}

{% hint style="success" %}
I strongly recommend you learn all these tools. At least Go through the tools.&#x20;
{% endhint %}
