# Compare Method
Compares the given plaintext password with an encrypted value using PBKDF2 algorithm.
## Definition
**Namespace:** CapyKit
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d
**C#**
``` C#
bool Compare(
string password,
byte[] encryptedValue,
params Object[] args
)
```
**VB**
``` VB
Function Compare (
password As String,
encryptedValue As Byte(),
ParamArray args As Object()
) As Boolean
```
**C++**
``` C++
bool Compare(
String^ password,
array^ encryptedValue,
... array