wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

RSA (Rivest-Shamir-Adelman) Algorithm

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

Deadlock in Operating System

Blog banner

Computer Security

Blog banner

Hypothesis Testing in Data Science

Blog banner

Deadlock in Operating System

Blog banner

social media issue

Blog banner

semaphores

Blog banner

A Journey By Train

Blog banner

Virtual memory

Blog banner

The evolution of OS

Blog banner

Threads

Blog banner

Cache Memory

Blog banner

How to write a cover letter

Blog banner

Malware

Blog banner

What is thread and alse multithreading

Blog banner

Heart Fulness Meditation

Blog banner

Precision-Recall in Data Science

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Instagram

Blog banner

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

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

Difference Between Classification And Clustering

Blog banner

Marvel Cinematic Universe

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Linux -V Server Virtual Machine

Blog banner

Evolution of Operating System

Blog banner

Real time scheduling

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

Travelling blog

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

Quality check in IT services

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

bulk email software

Blog banner

Memory Management

Blog banner

Advantage of freedom

Blog banner

Virtual Machine

Blog banner

Android Flashlight Application

Blog banner

Operating Systems Overview

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

Emotional Intelligence in Children: Why It Is as Important as Academics

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

Royal enfield

Blog banner