Cryptography and Text Encryption
Cryptography and Text Encryption
Cryptography and Text Encryption
LAB 3
CRYPTOGRAPHY
Imagine that you have got a secret message, and you only want certain
people to crack the code. Cryptography comes to the rescue in the digital
realm. It is like keeping your message into an unseen envelope that only
the designated receiver can open.
Learning cryptography makes it fun and hands-on. You can create your
own secret codes and understand how to decode others. And, it is a cool
skill to have in today's digital age.
CRYPTOGRAPHY APPLICATIONS
Cryptography has many practical applications which can be a valuable skill :
We can use cryptography for securing communication by encrypting the messages and emails.
Secondly we can use it for protecting our data in the applications by securing user data, like passwords
and personal information.
Also you can secure file storage by securing confidential files and documents.
Next we can also use cryptography to secure our E-commerce platforms by securing online transactions
and payment information.
We can also build blockchain technology by ensuring the security and integrity of transactions in
blockchain-based systems.
Cryptography can also be used for password protection for storing and managing passwords securely.
And the most important thing is digital signatures for verifying the authenticity of digital messages or
documents.
WHO SHOULD LEARN CRYPTOGRAPHY?
Learning about cryptography is useful because you can use it in real life
to keep information safe. There are lots of tools and help available for
cryptography. If you learn it, you might find good jobs in cybersecurity
because many companies need people who know how to keep data safe.
WHAT IS CRYPTOGRAPHY?
There are four main purpose of cryptography and they are given below :
Confidentiality
Integrity
Authentication
Non-repudiation
WHAT ARE THE APPLICATIONS OF CRYPTOGRAPHY?
The ideal language for cryptography is something you may choose from a wide range of options. See the
languages listed below to get started with the Cryptography :
Python
Go
Ruby
C++
C#
Java
PHP
WHICH TYPE OF TECHNOLOGY IS USED IN
CRYPTOGRAPHY?
Cryptography uses many types of technology to keep our data secure. There are some
common technologies used in cryptography like special algorithms (AES or RSA),
computer software created to encrypt and decrypt messages, key management,
cryptographic libraries, public key infrastructure (PKI) and digital signatures.
Together, these technologies form a secure framework for protecting our sensitive
information across digital networks and communications. This technology plays an
important role in protecting our privacy and ensuring the authenticity and integrity of
data transferred over the Internet. The sensitive data can be our passwords, emails,
and online transactions.
WHY DOES CRYPTOGRAPHY REQUIRE RUST?
One tool used to protect information through coding is called OpenSSL. It's really
popular as it functions effectively and has numerous expert certifications. It is written
in the computer language C, which presents a concern because it is not always safe
against memory problems.
We chose to use the different language Rust to rewrite some portions of OpenSSL,
such as its ability to read specific kinds of data, in order to make sure our security
stays at the highest level. Rust helps with maintaining the strength of our security by
being fast and preserving data in memory.
JAVA CODE TO ENCRYPT AND DECRYPT A STRING USING AES
(ADVANCED ENCRYPTION STANDARD)
Explanation
generateKey: Generates a new AES key of the specified bit length (e.g., 128 bits).
encrypt: Encrypts the given string using the provided AES key and returns the encrypted string in
Base64 format.
decrypt: Decrypts the given encrypted string using the provided AES key and returns the original
string.
Thanks