summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_sha2.cpp
AgeCommit message (Collapse)Author
2025-04-14Switch enc_sha2 default from sha256 to sha512.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-17Qualify a use of auto.Sadie Powell
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2024-12-15Add example code for how to validate SHA2 passwords in PHP.Sadie Powell
2024-03-18Fix an off by one error in enc_sha2.Sadie Powell
2024-03-10Implement verify-only support for raw SHA-2 passwords.Sadie Powell
2024-03-10Add self-tests to the encryption providers.Sadie Powell
2024-03-10Replace the custom SHA-2 implementation in enc_sha256.Sadie Powell
2024-03-09Move the HMAC function to the encryption header.Sadie Powell
This will be useful for doing challenge authentication on InspIRCd.
2024-03-09Add the enc_sha2 module which hashes passwords with HMAC-SHA-2.Sadie Powell
Using HMAC instead of changing the IV is a lot safer.