Simple encryption/decryption example in C Apache's base64 encoder/decoder tiny-AES-c for AES-based encryption Shortfalls: Key and IV combinations should never be reused with CTR