cryptio: authenticated file encryption library

cryptio provides a file-like interface for authenticated encryption.


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

Library Installation

$ pip install cryptio

Getting Started


import os
import cryptio

key = os.urandom(32)

data = b'binary data'

with'test', 'wb', key=key) as f:

with'test', 'rb', key=key) as f:
    assert == data

Indices and tables