wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

RSA (Rivest-Shamir-Adelman) Algorithm

profile
Jermin Shaikh
Apr 27, 2023
0 Likes
0 Discussions
136 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

PROCESS STATES OF OPERATING SYSTEM

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Malware

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Processing Crime and Incident Scenes

Blog banner

Getting into anime My anime suggestions

Blog banner

MY FIRST BLOG?

Blog banner

10 Problems you face if you are an Otaku

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

Dos (Denial of service) Attack

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

internet email and it's applications

Blog banner

Memory management

Blog banner

1.1 basic elements

Blog banner

RAID - LEVELS OF RAID

Blog banner

Dancing Classes In Mumbai

Blog banner

RAID

Blog banner

Yahoo! mail

Blog banner

Smartphone Security: Vulnerabilities and Attacks

Blog banner

SPAM

Blog banner

Memory Partitioning

Blog banner

How to feel Happy everyday day

Blog banner

Pooja Silver

Blog banner

About myself

Blog banner

John Titor: The Time Traveler

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

Concurrency management in operating systems

Blog banner

E-mail security

Blog banner

Google classroom

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

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

Blog banner

Evolution of Operating system

Blog banner

Concept and definition of m-commerce

Blog banner

Steganography

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

Network Forensics Tools and Techniques

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner

Beatbox

Blog banner