ipcrypt2 0.1.0
IP address obfuscation library for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
d-ipcrypt2
A D bindings of IPCrypt2, a simple and secure IP address obfuscation scheme.
IPCrypt2 is a format-preserving encryption scheme for IPv4 and IPv6 addresses. It allows IP addresses to be encrypted while maintaining their format, making it suitable for logging and data retention purposes where IP addresses need to be pseudonymized.
Features:
- Format-preserving encryption for both IPv4 and IPv6 addresses
- Cryptographically secure using AES-256 as the underlying cipher
- Preserves subnets: addresses sharing a prefix are encrypted to addresses sharing the same prefix
- Deterministic: same input and key always produces the same output
- Fast and constant-time operation
Known Implementations
Name | Language |
---|---|
Reference implementation | Python |
ipcrypt2 | C |
rust-ipcrypt2 | Rust |
ipcrypt-js | JavaScript |
go-ipcrypt | Go |
zig-ipcrypt | Zig |
Acknowledgements
- jedisct1 - for the original implementation
- 0.1.0 released 3 days ago
- kassane/d-ipcrypt2
- MIT
- Authors:
- Dependencies:
- none
- Versions:
-
0.1.3 2025-Apr-24 0.1.2 2025-Apr-22 0.1.1 2025-Apr-22 0.1.0 2025-Apr-22 - Download Stats:
-
-
0 downloads today
-
6 downloads this week
-
6 downloads this month
-
6 downloads total
-
- Score:
- 0.5
- Short URL:
- ipcrypt2.dub.pm