diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-08-06 18:48:36 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-08-06 18:48:36 +0200 |
commit | 7872791b07bb71f2d4c9d0cdeb3cd439adbc84ac (patch) | |
tree | ccf5ef73d5b699bdeb4f5475caa1c67c258fa89d /lockchain-core/src/users/tokens.rs | |
parent | 0223592b7eb1a80ff2b7c2ec95e2ad641da07ad8 (diff) |
Adding login/logout functions to the vault trait
Diffstat (limited to '')
-rw-r--r-- | lockchain-core/src/users/tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lockchain-core/src/users/tokens.rs b/lockchain-core/src/users/tokens.rs index e6e4854..32a6e01 100644 --- a/lockchain-core/src/users/tokens.rs +++ b/lockchain-core/src/users/tokens.rs @@ -1,11 +1,11 @@ use crypto::random; +use traits::AutoEncoder; const TOK_SIZE: usize = 64; /// An authentication token that can be compared in constant time /// /// ``` -/// /// use lockchain_core::users::auth::Token; /// let t1 = Token::new(); /// let t2 = Token::new(); |