Add confirmation code hashing method.