Skip to content

A script to encrypt text via RSA encryption methods.

Notifications You must be signed in to change notification settings

Infiniti20/RSAEncryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

RSA Encryption

A Python script for RSA encryption and decryption. Supports signing and verifying.

Create Keys

Usage: <class name>.CREATE_KEYS() CREATE_KEYS returns a tuple, that contains 2 lists: the private key pair, and the public key pair.

Encryption

Usage: <class name>.ENCRYPT(<plaintext>,<key>)

ENCRYPT returns the encrypted version of the text.

Decryption

Usage: <class name>.DECRYPT(<ciphertext>, <key>)

DECRYPT returns the decrypted ciphertext.

Signing

Usage: <class name>.SIGN(<plaintext>, <key>)

SIGN returns the text, and a signature.

Verifying

Usage: <class name>.VERFIY(<plaintext>, <signature>, <key>)

VERIFY returns True if the message was verified, otherwise it returns False.

About

A script to encrypt text via RSA encryption methods.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages