Library to support cross-platform AES encryption