X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=mudpy%2Fpassword.py;h=f90fe8824f30bab0cacbec0d4a18ef457515c2d8;hb=6ec06b65f1f32f5709a949ba13ab8e161d924ae3;hp=a34dab9438f36b370b98596fe2548338e83d266f;hpb=82632f7027ecc93ebcdd8862a8452a038c688899;p=mudpy.git diff --git a/mudpy/password.py b/mudpy/password.py index a34dab9..f90fe88 100644 --- a/mudpy/password.py +++ b/mudpy/password.py @@ -1,14 +1,14 @@ """Password hashing functions and constants for the mudpy engine.""" -# Copyright (c) 2004-2015 Jeremy Stanley . Permission +# Copyright (c) 2004-2017 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. import passlib.context _CONTEXT = passlib.context.CryptContext( - all__vary_rounds=0.1, default="pbkdf2_sha512", - pbkdf2_sha512__default_rounds=1000, schemes=["pbkdf2_sha512"]) + default="pbkdf2_sha512", pbkdf2_sha512__default_rounds=1000, + schemes=["pbkdf2_sha512"]) def create(password):