System.Web.Security Namespace PassportIdentity Class
Encrypts data using the Passport participant key for the current site.
[ VB ]
Public Shared Function Encrypt ( _
strData As String _
) As String
[ C# ]
public static string Encrypt (
string strData
);
[ C++ ]
public: static String* Encrypt (
String* strData
);
[ JScript ]
public static function Encrypt (
strData : String
) : String;
- strData
- The data to be encrypted.
Data encrypted using the Passport participant key for the current site.
The maximum input size of the data is 2045 characters. For more information, see the Passport SDK documentation for IPassportCrypt.Encrypt, available in the MSDN Library.
PassportIdentity Members