uricrypt 0.1.0
Prefix-preserving URI encryption scheme
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:
URICrypt
A D library for encrypting URIs while preserving their hierarchical structure and common prefixes.
Features
- Prefix-Preserving Encryption: URIs with shared paths maintain identical encrypted prefixes, enabling efficient caching and storage
- Plaintext Scheme: URI schemes (like
https://) remain unencrypted for protocol identification - Path-Only Support: Can encrypt paths without schemes (e.g.,
/path/to/file) - Deterministic Encryption: Same inputs always produce the same encrypted output
- URL-Safe Output: Generates clean URLs without padding characters using base64 URL-safe encoding
- Authenticated Encryption: Each component includes a 16-byte SIV for tamper detection
Instalation
dub add uricrypt
Known Implementations
| Name | Language |
|---|---|
| rust-uricrypt | Rust |
| uricrypt.js | JavaScript |
| zig-uricrypt | Zig |
Acknowledgements
- jedisct1 - for the original implementation
- 0.1.0 released a month ago
- kassane/d-uricrypt
- MIT
- Authors:
- Dependencies:
- sha3-d
- Versions:
-
Show all 1 versions0.1.0 2025-Oct-03 - Download Stats:
-
-
0 downloads today
-
3 downloads this week
-
4 downloads this month
-
7 downloads total
-
- Score:
- 0.6
- Short URL:
- uricrypt.dub.pm