public static string SSOUserKey(db.user user) { Encryption enc = new Encryption(); string pair = user.name + "|" + user.encPW; string key = enc.Encrypt(pair); return(key); }
public static string LinkToUnsubscripe(db.user user, int subTypeId) { return(LinkToUnsubscripe(user.encPW, subTypeId)); }