0
Reply

Vb script encryption

Mayur  Gujrathi

Mayur Gujrathi

Mar 5 2013 7:39 AM
1.3k
set encData_byte As Byte() = New Byte(len( Request("txtPassword")) - 1) {}
  encData_byte = System.Text.Encoding.UTF8.GetBytes( Request("txtPassword"))
  set encodedData As String = Convert.ToBase64String(encData_byte)

The above code in VBSCRIPT for encryption runs fine while  debugging website ..
but fails to run in IIS


Please help