Lightweight & flexible cryptographic library