Protect against HashDoS
- D 93.5%
- Makefile 6.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| COPYING | ||
| Makefile | ||
| README.md | ||
A port of the reference SipHash C implementation to D, as well as a wrapper intended to facilitate its use with druntime AAs to protect against the HashDoS attack.
Usage
Copy siphash.d into your programs.
int[sipProtect!string] aa;
Compatibility
Linux, macOS and Windows (64-bit platforms only).
Maintained for OpenD, YMMV with other D compilers.
Don't use -ludicrous (-release).
Build
To build the test suite:
make prepare && make
Report a bug
Report bugs directly to hello@indraj.net.
For security bugs, please allow up to 48 hours for a reply and up to 90 days for the issue(s) to be confirmed and fixed before disclosing them publicly.
License
Unless otherwise noted, the contents of this repository are licensed under the Boost Software License 1.0