Skip to content

1.1.0

Choose a tag to compare

@itspyguru itspyguru released this 14 Nov 19:44
· 11 commits to main since this release

Major Changes

Decrypto now comes with the power of RSA Cipher. Examplary Use of this cipher technique

from decrypto import RSACipher

cipher = RSACipher()
data = 'hello world'

keys = cipher.generate_keys(23, 31) #pass two unique prime numbers
encrypted = cipher.encrypt(message, keys['public_key'])
decrypted = cipher.decrypt(encrypted, keys['private_key'])

print(keys)
print(encrypted)
print(decrypted)

We are working on adding more cipher techniques in upcoming releases.