asp.net.ph

PassportIdentity.Encrypt Method

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;

Parameters

strData
The data to be encrypted.

Return Value

Data encrypted using the Passport participant key for the current site.

Remarks

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.

See Also

PassportIdentity Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note