public static AuthRequestViewModel EncryptAuthRequest(AuthRequestViewModel auth) { if (auth.UserName != null) auth.UserName = StringCipher.Encrypt(auth.UserName, EncryptKey); return auth; }