0
Reply

Classic ASP encryption problem

Mayur  Gujrathi

Mayur Gujrathi

Mar 6 2013 4:30 AM
2.1k
 
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)