# CompareHashedPassword Method Compares an unencrypted *providedPassword* with a stored, encrypted *existingPassword*. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d **C#** ``` C# public static bool CompareHashedPassword( string providedPassword, string existingPassword ) ``` **F#** ``` F# static member CompareHashedPassword : providedPassword : string * existingPassword : string -> bool ``` #### Parameters
  String
The provided password, unencrypted.
  String
The existing, encrypted password.
#### Return Value Boolean true if hash comparison succeeds, false if it fails. ## See Also #### Reference SecurityHelper Class CapyKit.Helpers Namespace