BCrypt Calculator
This adapter creates and verifies salted BCrypt hashes.
Properties
Operation | Defines the operation executed by the adapter Possible values:
|
Parameters
Adapter | Adapter main class (do not change!) Possible values: de.softproject.integration.adapter.bcrypt.BCryptAdapter: main class (default) |
clearText | Plain text password Possible values: Any string, e. g.
|
bcryptHash | Salted BCrypt hash to be compared with the plain text password; Required for the operations Possible values: Any salted BCrypt hash |
newclearText | New plain text password; Only required for the operation Possible values: Any string, e. g.
|
Status values
1 | The operation was executed successfully and the output contains an XML file with the result |
0 | Operations |
-1 | An error occurred during the operation's execution
|
Input
The adapter does not expect an input for any operation.
Output
Depending on the operation, the adapter outputs different results:
- Operations
GenerateHash
andVerifyAndReplace
: XML file with the salted hash - Operation
Verify
: XML file with the result whether the salted hash matches the plain text password - Operation
VerifyAndReplace
(if salted hash does not match the plain text password): XML file with the result that the salted hash does not match the plain text password - XML file with error messages
Sample output
<?xml version="1.0" encoding="UTF-8"
<Hash>$2a$10$EcgngKl9hSlppvEcDspLzeq.9Blqim1SFNVzY6tbn5ixTZFMh4xs</Hash>