Mayur  Gujrathi

Mayur Gujrathi

  • 375
  • 4k
  • 1m

Classic ASP encryption problem

Mar 6 2013 4:30 AM
 
The below code for encryption of text is running fine in classic ASP page when it is included in ASP.NET website but throws error when I am running in IIS


  Dim encData_byte As Byte()= System.Text.Encoding.UTF8.GetBytes( Request("txtPassword"))
  Dim encodedData As String = Convert.ToBase64String(encData_byte)