InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2021-01-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "password_hash" Module


This module adds the /MKPASSWD command which allows the generation of hashed passwords for use in the server configuration.


To load this module use the following <module> tag:

<module name="">

This module requires no other configuration.


Name Parameter Count Syntax Description
MKPASSWD 2 <hash> <password> Hashes <password> using the <hash> algorithm.

The following hashing modules are included with InspIRCd:

Algorithm Module Description
hmac-md5 md5 Hashes using the MD5 and HMAC algorithms.
hmac-ripemd160 ripemd160 Deprecated! Hashes using the RIPEMD-160 and HMAC algorithms.
hmac-sha256 sha256 Hashes using the SHA-256 and HMAC algorithms.
md5 md5 Hashes using the MD5 algorithm.
ripemd160 ripemd160 Deprecated! Hashes using the RIPEMD-160 algorithm.
sha256 sha256 Hashes using the SHA-256 algorithm.

Example Usage

Hashes the password "hunter2" using the HMAC-SHA-256 algorithm:

/MKPASSWD hmac-sha256 hunter2

Special Notes

You should only run this command on a server that you trust as the plaintext password may be intercepted by an attacker.