added encryption utility