0
Answer

Classic ASP encryption problem

Mayur  Gujrathi

Mayur Gujrathi

11y
2.2k
1
 
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)