wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

RSA (Rivest-Shamir-Adelman) Algorithm

profile
Jermin Shaikh
Apr 27, 2023
0 Likes
0 Discussions
134 Reads

When using RSA for encryption and decryption of general data, it reverses the key set usage. Unlike signature verification, it uses the receiver’s public key to encrypt the data, and it uses the receiver’s private key in decrypting the data. Thus, there is no need to exchange any keys in this scenario.

 

There are two broad components when it comes to RSA cryptography, they are: 

  • Key Generation: Generating the keys to be used for encrypting and decrypting the data to be exchanged.
  • Encryption/Decryption Function: The steps that need to be run when scrambling and recovering the data.

 

You need to generate public and private keys before running the functions to generate your ciphertext and plaintext. They use certain variables and parameters, all of which are explained below:

  • Choose two large prime numbers (p and q)
  • Calculate n = p*q and z = (p-1)(q-1)
  • Choose a number e where 1 < e < z
  • Calculate d = e-1mod(p-1)(q-1)
  • You can bundle private key pair as (n,d)
  • You can bundle public key pair as (n,e)

adv-RSA_Algorithm.

  • No Key Sharing: RSA encryption depends on using the receiver’s public key, so you don’t have to share any secret key to receive messages from others.
  • Proof of Authenticity: Since the key pairs are related to each other, a receiver can’t intercept the message since they won’t have the correct private key to decrypt the information.
  • Faster Encryption: The encryption process is faster than that of the DSA algorithm.
  • Data Can’t Be Modified: Data will be tamper-proof in transit since meddling with the data will alter the usage of the keys. And the private key won’t be able to decrypt the information, hence alerting the receiver of manipulation.

Comments ()


Sign in

Read Next

Big Data Architecture

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

semaphores in os

Blog banner

Memory Management - operating system

Blog banner

Wedding photographer

Blog banner

rupee

Blog banner

Brain wash of social media

Blog banner

Security requirements for Safe E-Payments

Blog banner

Cryptanalysis tool

Blog banner

Memory Management in Operating System

Blog banner

Why You Should Not Use Free VPNs

Blog banner

Deadlock

Blog banner

Big O Notation

Blog banner

The War With Cold On Earth

Blog banner

Ethical Hacking

Blog banner

Some web vulnerabilities

Blog banner

Veg Mix Pickle

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

Hash password! Is it really secured?

Blog banner

Loneliness

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Riddhi Miyani 53003220140

Blog banner

Deadlock and Starvation

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Memory input output management

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

How to write a cover letter

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Article on Zoho Corporation

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

Blog on health and fitness

Blog banner

Data Warehousing

Blog banner

Synchronization

Blog banner

Virtual Machine's

Blog banner

SQL Injection Techniques

Blog banner

Internet of Things

Blog banner

Python as a tool for data analysis

Blog banner

To-Do List In LISP

Blog banner