Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.
/ cryptopyutils Public archive

DEPRECATED - A high-level Python3 cryptography library using cryptography

License

Notifications You must be signed in to change notification settings

dheurtev/cryptopyutils

Repository files navigation

Project generated with PyScaffold Style follow black

cryptopyutils

> [!WARNING] > This piece of software is unmaintained and considered deprecated. It will be taken down on Jan 1, 2026.

High-level Python3 cryptography library using cryptography with sensible configurable defaults and CLI scripts.

cryptopyutils can be used to :

  • encrypt ("derive") and verify passwords.
  • generate, save and load Asymmetric encryption keys and certificates :
    • private keys/public keys (RSA, ED25519, ECDSA, DSA, etc).
    • generate, save and load x509 Certificate Signing Request (CSR).
    • generate, save and load x509 Certificates, particularly self-signed certificates, to be used in SSL applications.
  • encrypt or decrypt messages with RSA.
  • sign and verify messages with asymetric encryption. It works with small messages or in digest mode.
  • perform constant time comparisons between two series of bytes (prevents timing attacks).

Please provide feedback to @dheurtevent1.

Disclaimer

Caution!

USE AT YOUR OWN RISK. Has been tested only on Ubuntu 20.04 (Linux) with python 3.9.12.

How to install

Requirements

This library requires python cryptography, distro and pyaml (for the CLI examples)

$ pip install cryptography distro pyaml

cryptography uses openSSL as its backend engine.

Install the library

$ pip install cryptopyutils

Usage

  • cryptopyutils is free open source software. It is released under the Apache 2.0 licence.
  • You are free to incorporate the library and/or its CLI in your open-source or proprietary projects.

To use the library

You can read the following how to guides:

You can also read the source code of other examples.

In addition, you can have a look at the API and at the source code in the Github repository.

To use the CLI examples

You can have a look at the CLI page.

Code quality and stability

About

DEPRECATED - A high-level Python3 cryptography library using cryptography

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages