Skip to main content
Actual PyPI version CI status

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.

Metadata

Release files for rncryptor 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rncryptor 3.3.0
File Size Uploaded
rncryptor-3.3.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rncryptor 3.3.0
File Interpreter ABI Platform
rncryptor-3.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.4 kB

Release files / rncryptor-3.3.0.tar.gz

Download URL rncryptor-3.3.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
efdd61d56627e645dcbb1b9cfe22806decf676c0089b6f993f280de82d66e70e
BLAKE2b-256 checksum
How to use checksums
0ef0a6b66f0a13bf622231613023fd4682a6abf480fde48c058c7b218d9b635a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.2+

Release files / rncryptor-3.3.0-py2.py3-none-any.whl

Download URL rncryptor-3.3.0-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ba932299aee25524537a32112cba8787965f8de6e46550684b71a3c1255b0e62
BLAKE2b-256 checksum
How to use checksums
03570734b54bd4a48df3dbd3aa0ac86fd24296bc22e3e9aa90961eab39fb223d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.2+

Release history Release notifications | RSS feed

This release

3.3.0 This release

2 release files

3.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page