Low-level cryptographic library