cryptio: authenticated file encryption library

cryptio provides a file-like interface for authenticated encryption.

Features

  • Uses AES-GCM for data integrity validation
  • Automatic GCM initialization vector and authentication tag storage
  • cryptography primitives

Library Installation

$ pip install cryptio

Getting Started

Example:

import os
import cryptio

key = os.urandom(32)

data = b'binary data'

with cryptio.open('test', 'wb', key=key) as f:
    f.write(data)

with cryptio.open('test', 'rb', key=key) as f:
    assert f.read() == data

Indices and tables