Added encryption to confirmation code