rncryptor 3.3.0

Creator: bradpython12

Last updated:

0 purchases

rncryptor 3.3.0 Image
rncryptor 3.3.0 Images

Languages

Categories

Add to Cart

Description:

rncryptor 3.3.0

Python implementation of RNCryptor

Installation
$ pip install rncryptor


Usage
import rncryptor

data = '...'
password = '...'

# rncryptor.RNCryptor's methods
cryptor = rncryptor.RNCryptor()
encrypted_data = cryptor.encrypt(data, password)
decrypted_data = cryptor.decrypt(encrypted_data, password)
assert data == decrypted_data

# rncryptor's functions
encrypted_data = rncryptor.encrypt(data, password)
decrypted_data = rncryptor.decrypt(encrypted_data, password)
assert data == decrypted_data


Testing
$ tox
$ tox -e py27 # test using only Python2.7
$ tox $(nproc) # run tests using all processes
An actual command can be found in tox.ini, but basically it’s a common py.test with a bunch of plugins.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.