Skip to content

syan212/CryptoPyX

Repository files navigation

CryptoPyX

Ruff PyPI - Python Version PyPI - Version PyPI - Downloads CI Status Dependabot Status Publish to PyPI Status Licence

A python cryptography package written in Rust made for speed.

Example Usage

from cryptopyx.encodings import base32
base32.encode_bytes(b'Hello World')  # b'JBSWY3DPEBLW64TMMQ======'
base32.decode_bytes(b'JBSWY3DPEBLW64TMMQ======')  # b'Hello World'

Installation guide

Install from PyPI

This package supports Python 3.10 and above

pip install cryptopyx

See below for platform compatibility and more information. See Building From Source below for more information.

Wheel Compatibility

The package provides pre-compiled wheels for the following platforms tags

  • win_amd64
  • win32
  • macosx_10_12_x86_64
  • macosx_11_0_arm64
  • manylinux_2_34_x86_64
  • manylinux_2_34_armv7l
  • manylinux_2_34_aarch64
  • manylinux_2_34_i686

for python 3.10 and above. See above for download information if your platform is supported. However, if your platform is not supported, you will have to download the sdist and build from source.

Documentation

The documentation is currently work in progress, however this package does have docstrings.

Building From source

It is possible to install the package without Rust, as maturin can install a temporary Rust toolchain.

To build from source without Rust after cloning the repository, run

pip install maturin
maturin build --release --out dist
pip install dist/cryptopyx-*.whl # You might have to use `pip3` instead of `pip`

Licence

This is licensed under MIT licence. See LICENSE for full information.

About

A python cryptography package written in Rust for fun.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •