Method | Description | |
---|---|---|
EncryptPassWord ( string passWord ) : string |
Encrypts the specified password using the MD5 hash algoritm and no salt
|
|
EncryptPassWord ( string passWord, HashAlgoritm hashAlgoritm ) : string |
Encrypts the specified password using the specified hash algoritm
|
|
EncryptPassWord ( string passWord, string salt ) : string |
Encrypts the specified password using the MD5 hash algoritm
|
|
EncryptPassWord ( string passWord, string salt, HashAlgoritm hashAlgoritm ) : string |
Encrypts the specified password using the specified hash algoritm
|
|
GenerateAlphanumericPassWord ( ) : string |
Generate an alphanumeric password
|
|
GenerateAlphanumericPassWord ( int lengte ) : string |
Generate an alphanumeric password
|
|
GeneratePhoneticPassWord ( ) : string |
Generates a phonetic password of 6 characters
|
|
GeneratePhoneticPassWord ( int passwordLength ) : string |
Generates a phonetic password of specified number of characters
|
|
GenerateSalt ( ) : string |
Generates a 6 byte salt
|
|
GenerateSalt ( int size ) : string |
Generates a salt of specified byte size
|
|
GenerateSalt ( int minSaltSize, int maxSaltSize ) : string |
Generates a salt of a random byte size The minimum and maximum byte sizes are specified.
|
Method | Description | |
---|---|---|
GetRandomNumber ( int bandwith ) : int |
Gets a random number within a zero based specfied bandwith
|
|
MD5Hash ( string data ) : string |
public static EncryptPassWord ( string passWord ) : string | ||
passWord | string | |
return | string |
public static EncryptPassWord ( string passWord, HashAlgoritm hashAlgoritm ) : string | ||
passWord | string | |
hashAlgoritm | HashAlgoritm | |
return | string |
public static EncryptPassWord ( string passWord, string salt ) : string | ||
passWord | string | |
salt | string | |
return | string |
public static EncryptPassWord ( string passWord, string salt, HashAlgoritm hashAlgoritm ) : string | ||
passWord | string | |
salt | string | |
hashAlgoritm | HashAlgoritm | |
return | string |
public static GenerateAlphanumericPassWord ( ) : string | ||
return | string |
public static GenerateAlphanumericPassWord ( int lengte ) : string | ||
lengte | int | |
return | string |
public static GeneratePhoneticPassWord ( ) : string | ||
return | string |
public static GeneratePhoneticPassWord ( int passwordLength ) : string | ||
passwordLength | int | |
return | string |
public static GenerateSalt ( int size ) : string | ||
size | int | the salt byte size |
return | string |
public static GenerateSalt ( int minSaltSize, int maxSaltSize ) : string | ||
minSaltSize | int | minimum salt byte size |
maxSaltSize | int | maximum salt byte size |
return | string |