Standalone implemention of authenticated encryption algorithms