var @salt, @hash SET @salt = Lookup("FS Settings",'value','code','salt') SET @hash = SHA256(Concat(@salt,EmailAddress))