Skip to main content

A wrapper for cryptography.fernet

Project description


Github Repository


  • Importing

    pip install python-cryptography-fernet-wrapper
    from fernet_wrapper import Wrapper as fernet_wrapper
  • Encrypt

    encrypted_data = fernet_wrapper.encrypt(data, key)
  • Decrypt

    decrypted_data = fernet_wrapper.decrypt(encrypted_data, key)
  • Generate random key

    key = fernet_wrapper.gen_key()
  • Generate key from password

    key = fernet_wrapper.key_from_pass(password)

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

python-cryptography-fernet-wrapper-1.0.4.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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