InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "pbkdf2" Module (v4)
Description
This module allows other modules to generate PBKDF2 hashes.
Configuration
To load this module use the following <module>
tag:
<module name="pbkdf2">
<pbkdf2>
The <pbkdf2>
tag defines settings about how the pbkdf2 module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
iterations | Number | 12288 | The number of iterations of the hashing function that should be performed. |
length | Number | 32 | The length of the derived key. |
Example Usage
<pbkdf2 iterations="12288"
length="32">
<pbkdf2prov>
The <pbkdf2prov>
tag defines settings for a specific hash algorithm. This tag can be defined as many times as required.
Name | Type | Default Value | Description |
---|---|---|---|
hash | Text | None | Required! The name of the hash algorithm to configure. |
iterations | Number | 12288 | The number of iterations of the hashing function that should be performed. |
length | Number | 32 | The length of the derived key. |
Example Usage
<pbkdf2prov hash="sha256"
iterations="12288"
length="32">