CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareHashedPassword.md
Jordan Wages 735d7c4c91 Documentation + Unfinished SecurityHelper
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
2024-04-19 23:12:24 -05:00

1.5 KiB

CompareHashedPassword Method

Compares an unencrypted providedPassword with a stored, encrypted existingPassword.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d

C#

public static bool CompareHashedPassword(
	string providedPassword,
	string existingPassword
)

VB

Public Shared Function CompareHashedPassword ( 
	providedPassword As String,
	existingPassword As String
) As Boolean

C++

public:
static bool CompareHashedPassword(
	String^ providedPassword, 
	String^ existingPassword
)

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