# CompareHashedPassword(Password, String, Byte[], IPasswordAlgorithm, Object[]) Method Compares an unencrypted *password* with a stored, encrypted *existingPassword*. This method uses the specified *algorithm* to retrieve the hashed version of the *password* and then compares it with the *existingPassword*. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public static bool CompareHashedPassword( Password existingPassword, string password, byte[] salt, IPasswordAlgorithm algorithm, params Object[] args ) ``` **F#** ``` F# static member CompareHashedPassword : existingPassword : Password * password : string * salt : byte[] * algorithm : IPasswordAlgorithm * args : Object[] -> bool ``` #### Parameters