4AspNet Parole v1.1 Documentation

Parole.encryptPassword Method 

Encryptes password.

public string encryptPassword(
   string password
);

Parameters

password

Return Value

Example

This sample shows how to use the encryptPassword method.

ForAspNet.Parole.License.LicenseKey = "<put license string here>";
Parole objParole = new Parole();
string encrypedPassword = objParole.encryptPassword("password");
Console.WriteLine("Encryped Password: " + encrypedPassword);
Console.WriteLine("Decryped Password: " + objParole.decryptPassword(encrypedPassword));
Console.WriteLine("Press Enter to exit...");
Console.ReadLine();

See Also

Parole Class | ForAspNet.Parole Namespace | String | String