wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

RSA (Rivest-Shamir-Adelman) Algorithm

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

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

Why Makhana Is Becoming India’s Favourite Healthy Snack?

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

GIS info about Bermuda Triangle

Blog banner

5 Stages of Digital Marketing

Blog banner

Spotify

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

BharatPe

Blog banner

Meshoo

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Design Considerations for Disk Cache Management

Blog banner

MOVEMBER

Blog banner

Importance of Education

Blog banner

Life of an army person

Blog banner

RAID

Blog banner

TAILS OS

Blog banner

Secure Hypertext transfer protocol

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Introduction my self

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

Assignment-3

Blog banner

Deadlock in operating system

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Race Condition in Operating Theatre

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

COMMUNICATION

Blog banner

LIMITED EDITION

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

IT RISK

Blog banner

City of Mumbai (Bombay):

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

How return on investment is defined in IT services

Blog banner

My Favorite Country

Blog banner

Oracle Corporation

Blog banner

Use case of K-means clustering

Blog banner

Phishing

Blog banner

What is Virtual Memory

Blog banner

HUBSPOT

Blog banner