Skip to content

Instantly share code, notes, and snippets.

@CoreProgramm
Created April 13, 2020 12:47
Show Gist options
  • Save CoreProgramm/f3b99d1c498ceb97ead965c83a1112e6 to your computer and use it in GitHub Desktop.
Save CoreProgramm/f3b99d1c498ceb97ead965c83a1112e6 to your computer and use it in GitHub Desktop.
Encrypt in JavaScript and Decrypt in C# With AES Algorithm in ASP.Net MVC
public class Login
{
[Required(ErrorMessage = "Enter Username")]
public string Username { get; set; }
[Required(ErrorMessage = "Enter Password")]
[DataType(DataType.Password)]
public string Password { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment