diff options
author | Teddy Wing | 2018-11-14 15:30:10 +0100 |
---|---|---|
committer | Teddy Wing | 2018-11-14 15:30:10 +0100 |
commit | e55fdbdf7d8483954f8a8373dde74665ce87d9eb (patch) | |
tree | 4852d3cc78c82e1f78be6b991ffae8de4a20a956 /license-generator/src/lib.rs | |
parent | a65fd703de8799a19ad5a878194d0fe07190f4db (diff) | |
download | dome-key-web-e55fdbdf7d8483954f8a8373dde74665ce87d9eb.tar.bz2 |
purchaser: Add timestamp to secret
Trying to add a little more entropy to the calculation.
Went with chrono instead of `std::time` because it gives me an `i64`
timestamp instead of a `Result`.
Diffstat (limited to 'license-generator/src/lib.rs')
-rw-r--r-- | license-generator/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/license-generator/src/lib.rs b/license-generator/src/lib.rs index eae9df0..697bfa6 100644 --- a/license-generator/src/lib.rs +++ b/license-generator/src/lib.rs @@ -1,4 +1,5 @@ extern crate aquatic_prime; +extern crate chrono; #[macro_use] extern crate error_chain; |