|   | CipherGetPasswordHash Method | 
        
        
            Gets the Base64 encoded SHA-256 hash of given user password.
            
        
        Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic 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
)
static member GetPasswordHash : 
        password : string * 
        ?categoryID : int 
(* Defaults:
        let _categoryID = defaultArg categoryID 0
*)
-> string GSF.Security.Cryptography.Cipher.GetPasswordHash = function(password, categoryID);
Parameters
- password  String
- User password to get hash for.
- categoryID  Int32  (Optional)
- Specifies the desired category ID.
Return Value
StringBase64 encoded SHA-256 hash of user password.
 Remarks
Remarks
            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.
            
 See Also
See Also