Decrypto

Latest version: v1.1.1

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

Major Changes

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

python3
from decrypto import ScytaleCipher

cipher = ScytaleCipher()
data = 'hello world'
key = 3

encrypted = cipher.encrypt(message, key)
decrypted = cipher.decrypt(encrypted, key)

print(encrypted)
print(decrypted)


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

1.1.0

Major Changes

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

python
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.

1.0.9

Major Changes
* Restructured decrypto library
* Added tests
* fixed bugs
* You can now import all the modules at once using this syntax

python3
from decrypto import *


thanks to GuptaAyush19 for his contribution to this release

1.0.8

Major Changes

* Restructured entire decrypto library
* Decrypto now comes with the power of Atbash Cipher technique

to test atbash cipher, try this example

python
from decrypto import AtbashCipher

cipher = AtbashCipher()
data = 'hello world'

en = cipher.encrypt(data)
de = cipher.decrypt(en)

print(en, de)

thanks to mhemanthkmr for his contribution to this release

1.0.7

Major Changes

Decrypto now comes with the power of following encryption techniques
* Affine Cipher

to test affine cipher, try this example

python
from decrypto import AffineCipher

cipher = AffineCipher()
data = 'hello world'
a, b = 17, 20

en = cipher.encrypt(data, a, b)
de = cipher.decrypt(en, a, b)

print(en, de)


thanks to anonymous-sidhax for his contribution to this release

1.0.6

Major Changes

Decrypto now comes with the power of following encryption techniques
* Base64Cipher
* BaconCipher
* ROT13Cipher

to test any of these, try this example

python
cipher = ROT13Cipher()
data = 'Hello world'

encrypted = cipher.encrypt(data)
print(encrypted)

decrypted = cipher.decrypt(encrypted)
print(decrypted)


thanks to murugan-k-0204 & mhemanthkmr for their contribution to this release

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.