Skip to main content

Python implementation of RNCryptor

Project description

Actual PyPI version CI status

Python implementation of RNCryptor


$ pip install rncryptor


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


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rncryptor, version 3.3.0
Filename, size File type Python version Upload date Hashes
Filename, size rncryptor-3.3.0-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size rncryptor-3.3.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page