CipherGetPasswordHash Method
Gets the Base64 encoded SHA-256 hash of given user password.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.178 -- Release Build+e530c5c0e31352f3de7b5819173c826f4dd2c6c7
public static string GetPasswordHash(
string password,
int categoryID = 0
)
Public Shared Function GetPasswordHash (
password As String,
Optional categoryID As Integer = 0
) As String
public:
static String^ GetPasswordHash(
String^ password,
int categoryID = 0
)
Gemstone.Security.Cryptography.Cipher.GetPasswordHash = function(password, categoryID);
- password String
- User password to get hash for.
- categoryID Int32 (Optional)
- Specifies the optional category ID.
StringBase64 encoded SHA-256 hash of user password.
The optional categoryID will be appended to the password to allow
the same password to be used in different contexts and return different results, when useful.