diff options
author | Leif Johansson <leifj@sunet.se> | 2010-07-07 22:15:37 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-07-07 22:15:37 +0200 |
commit | 5a58664f5cf03995c6f35f71812cfcf5637ba76e (patch) | |
tree | 09e25792f621e85ab4948663ede8c49aa440f5ce /coip/apps/auth/utils.py | |
parent | 75d3084f8e1bf30df65b5c221388218c05fa5933 (diff) |
break out nonce and anonymous id methods - they need better implementations
Diffstat (limited to 'coip/apps/auth/utils.py')
-rw-r--r-- | coip/apps/auth/utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coip/apps/auth/utils.py b/coip/apps/auth/utils.py index b7bb044..9e0a736 100644 --- a/coip/apps/auth/utils.py +++ b/coip/apps/auth/utils.py @@ -6,4 +6,7 @@ Created on Jul 7, 2010 from uuid import uuid4 def nonce(): - return uuid4().hex;
\ No newline at end of file + return uuid4().hex; + +def anonid(): + return uuid4().urn;
\ No newline at end of file |