Skip to main content

Python library that provides a simple interface for symmetric (i.e., secret-key) and asymmetric (i.e., public-key) encryption/decryption primitives.

Project description

Python library that provides a simple interface for symmetric (i.e., secret-key) and asymmetric (i.e., public-key) encryption/decryption primitives.

PyPI version and link. travis coveralls

Purpose

This library provides simple and straightforward methods for symmetric (i.e., secret-key) and asymmetric (i.e., public-key) cryptographic encryption and decryption capabilities. The library’s interface is designed for ease of use and therefore hides from users some of the flexibilities and performance trade-offs that can be leveraged via direct use of the underlying libraries.

The library’s name is a reference to Boron trichloride, as it is a wrapper for a limited set of capabilities found in PyNaCl (which is itself a wrapper library for libsodium). However, it can also be an acronym for basic cryptographic library.

Package Installation and Usage

The package is available on PyPI:

python -m pip install bcl

The library can be imported in the usual ways:

import bcl
from bcl import *

Testing and Conventions

All unit tests are executed and their coverage is measured when using nose (see setup.cfg for configution details):

nosetests

Alternatively, all unit tests are included in the module itself and can be executed using doctest:

python bcl/bcl.py -v

Style conventions are enforced using Pylint:

pylint bcl

Contributions

In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.

Versioning

The version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.

Project details


Download files

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

Source Distribution

bcl-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bcl-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file bcl-0.1.1.tar.gz.

File metadata

  • Download URL: bcl-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for bcl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3557e09835614a2a49924906557a575cb8e8742b2a3b9c9b9d218a0b64f778db
MD5 bb2217f97380613f62cb1dd097319964
BLAKE2b-256 396568d7e40e4b3e5cfa1ac2d35cc0d95a7ace81e3b58ca7f3ee6e3c55172b32

See more details on using hashes here.

File details

Details for the file bcl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bcl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for bcl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2efb40fb7e3678b5cc86a3f9241ffdaf272974d9aa297c947415e66492ed3102
MD5 6cae1423c9015c9b6bdb8ce41f0727a5
BLAKE2b-256 57ccac61bc1c61cc7a16c872e2efd9985c030e30f83027d2e0713e5acbef2555

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page