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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph