sha1ct 1.0.0
sha1 hashing & uuid algorithm that works at compile time
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:
sha1ct
Compile-Time sha1
import sha1ct;
enum hash = sha1Of(cast(ubyte[]) [0, 1, 2, 3]); // Binary Data
enum hash2 = sha1Of("Hello World"); // String
enum namespace = sha1UUID("my.app"); // generates a std.uuid.UUID from string or binary
enum uuid = sha1UUID("interface1", namespace); // also with namespaces
- 1.0.0 released 7 years ago
- WebFreak001/sha1ct
- public domain
- Dependencies:
- none
- Versions:
-
1.0.0 2017-Jun-14 ~master 2017-Jun-14 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
1576 downloads total
-
- Score:
- 0.7
- Short URL:
- sha1ct.dub.pm