public interface BCryptFormatter
$2a$12$US00g/uMhoSBm.HiuieBjeMtoN69SN.GE25fCpldebzkryUyopws6
Which consists of the version identifier:
$2a$
the cost factor:
12$
16 bytes Radix64 encoded UTF-8 bytes of salt:
uMhoSBm.HiuieBjeMtoN69
and 23 Radix64 encoded UTF-8 bytes of actual bcrypt hash
MtoN69SN.GE25fCpldebzkryUyopws6
The literal $ is a simple seperator
see: https://passlib.readthedocs.io/en/stable/modular_crypt_format.html
| Modifier and Type | Interface and Description |
|---|---|
static class |
BCryptFormatter.Default
Default implantation following the Modular Crypt Format
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createHashMessage(BCrypt.HashData hashData)
Create a message for the given raw hash data
|
byte[] createHashMessage(BCrypt.HashData hashData)
hashData - to create a message fromCopyright © 2018. All rights reserved.