TheMade4 / RSACore

RSACore For Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSACore

RSACore For Python

A simple RSA library for python with built-in AES, which allows you to exchange encrypted data with an unlimited size.

Installation:

For Windows:

pip install rsacore

For Linux or MacOS:

pip3 install rsacore

Example:

from rsacore import Core

RSA = Core()
RSA2 = Core()
RSA.SetPubKey(RSA2.GenKeys())
RSA2.SetPubKey(RSA.GenKeys())
msg = "Test msg"
data = RSA.Encrypt(msg.encode())
print(data)
data = RSA2.Decrypt(data)
print(data.decode())

About

RSACore For Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%