 |
PasswordControllerComputeSecureHash Method |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Computes the password hash.
Namespace:
WeroSoft.Security
Assembly:
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntaxpublic static string ComputeSecureHash(
char[] password,
HashProvider provider = HashProvider.MD5
)
Parameters
- password
- Type: SystemChar
Password whose hash shall be computed. - provider (Optional)
- Type: WeroSoft.SecurityHashProvider
type of the hash algorithm provider to be used. Default is MD5.
Return Value
Type:
StringPassword hash.
See Also