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

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Electronic Funds Transfer

Blog banner

OS assignment 3

Blog banner

BITCOIN WALLET

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

About myself

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Cryptanalysis tool

Blog banner

My Favorite Country

Blog banner

Deadlock and Starvation

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Strengthening Active Directory Security

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

Virtual memory

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Memory managment

Blog banner

Women empowerment

Blog banner

Virtual machine and virtualizing

Blog banner

Review on Recovering Deleted Files

Blog banner

Difference Between Classification And Clustering

Blog banner

ProofHub

Blog banner

Puri Jagannath temple

Blog banner

PERSONAL STORIES

Blog banner

Intrusion Detection System

Blog banner

Uniprocessor scheduling

Blog banner

Security in Operating Systems

Blog banner

Network Security Risks

Blog banner

Data Science in Mental Health Prediction

Blog banner

Memory Management

Blog banner

Buffer Overflow

Blog banner

Confidence Building Activities for the New School Year

Blog banner

Constrains in service design

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Jira service Management

Blog banner

Advanced Persistent Threats (APTs)

Blog banner