var searchIndex = {}; searchIndex["djangohashers"] = {"doc":"A Rust port of the password primitives used in [Django Project](https://www.djangoproject.com).","items":[[3,"PBKDF2Hasher","djangohashers","Hasher that uses the PBKDF2 key-derivation function with the SHA256 hashing algorithm.",null,null],[3,"PBKDF2SHA1Hasher","","Hasher that uses the PBKDF2 key-derivation function with the SHA1 hashing algorithm.",null,null],[3,"BCryptSHA256Hasher","","Hasher that uses the bcrypt key-derivation function with the password padded with SHA256.",null,null],[3,"BCryptHasher","","Hasher that uses the bcrypt key-derivation function without password padding.",null,null],[3,"SHA1Hasher","","Hasher that uses the SHA1 hashing function over the salted password.",null,null],[3,"MD5Hasher","","Hasher that uses the MD5 hashing function over the salted password.",null,null],[3,"UnsaltedSHA1Hasher","","Hasher that uses the SHA1 hashing function with no salting.",null,null],[3,"UnsaltedMD5Hasher","","Hasher that uses the MD5 hashing function with no salting.",null,null],[3,"Django","","Abstraction that exposes the functions that generates\npasswords compliant with different Django versions.",null,null],[12,"version","","Django Version.",0,null],[4,"HasherError","","Possible errors during a hash creation.",null,null],[13,"UnknownAlgorithm","","Algorithm not recognizable.",1,null],[13,"EmptyHash","","Number of iterations is not a positive integer.",1,null],[13,"InvalidIterations","","Hash string is empty.",1,null],[4,"Algorithm","","Algorithms available to use with Hashers.",null,null],[13,"PBKDF2","","PBKDF2 key-derivation function with the SHA256 hashing algorithm.",2,null],[13,"PBKDF2SHA1","","PBKDF2 key-derivation function with the SHA1 hashing algorithm.",2,null],[13,"BCryptSHA256","","Bcrypt key-derivation function with the password padded with SHA256.",2,null],[13,"BCrypt","","Bcrypt key-derivation function without password padding.",2,null],[13,"SHA1","","SHA1 hashing function over the salted password.",2,null],[13,"MD5","","MD5 hashing function over the salted password.",2,null],[13,"UnsaltedSHA1","","SHA1 hashing function with no salting.",2,null],[13,"UnsaltedMD5","","MD5 hashing function with no salting.",2,null],[4,"Version","","Django Version.",null,null],[13,"Current","","Current Django version.",3,null],[13,"V14","","Django 1.4.",3,null],[13,"V15","","Django 1.5.",3,null],[13,"V16","","Django 1.6.",3,null],[13,"V17","","Django 1.7.",3,null],[13,"V18","","Django 1.8.",3,null],[13,"V19","","Django 1.9.",3,null],[13,"V110","","Django 1.10.",3,null],[5,"is_password_usable","","Verifies if an encoded hash is properly formatted before check it cryptographically.",null,{"inputs":[{"name":"str"}],"output":{"name":"bool"}}],[5,"check_password","","Verifies a password against an encoded hash, returns a Result.",null,{"inputs":[{"name":"str"},{"name":"str"}],"output":{"name":"result"}}],[5,"check_password_tolerant","","Verifies a password against an encoded hash, returns a boolean, even in case of error.",null,{"inputs":[{"name":"str"},{"name":"str"}],"output":{"name":"bool"}}],[5,"make_password_core","","Core function that generates all combinations of passwords:",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"algorithm"},{"name":"version"}],"output":{"name":"string"}}],[5,"make_password_with_settings","","Based on the current Django version, generates an encoded hash given\na complete set of parameters: password, salt and algorithm.",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"algorithm"}],"output":{"name":"string"}}],[5,"make_password_with_algorithm","","Based on the current Django version, generates an encoded hash given\na password and algorithm, uses a random salt.",null,{"inputs":[{"name":"str"},{"name":"algorithm"}],"output":{"name":"string"}}],[5,"make_password","","Based on the current Django version, generates an encoded hash given\nonly a password, uses a random salt and the PBKDF2 algorithm.",null,{"inputs":[{"name":"str"}],"output":{"name":"string"}}],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"verify","","",4,null],[11,"encode","","",4,null],[11,"verify","","",5,null],[11,"encode","","",5,null],[11,"verify","","",6,null],[11,"encode","","",6,null],[11,"verify","","",7,null],[11,"encode","","",7,null],[11,"verify","","",8,null],[11,"encode","","",8,null],[11,"verify","","",9,null],[11,"encode","","",9,null],[11,"verify","","",10,null],[11,"encode","","",10,null],[11,"verify","","",11,null],[11,"encode","","",11,null],[8,"Hasher","","Hasher abstraction, providing methods to encode and verify hashes.",null,null],[10,"verify","","Verifies a password against an encoded hash.",12,null],[10,"encode","","Generates an encoded hash for a given password and salt.",12,null],[11,"eq","","",2,null],[11,"clone","","",3,null],[11,"make_password_with_settings","","Based on the defined Django version, generates an encoded hash given\na complete set of parameters: password, salt and algorithm.",0,null],[11,"make_password_with_algorithm","","Based on the defined Django version, generates an encoded hash given\na password and algorithm, uses a random salt.",0,null],[11,"make_password","","Based on the defined Django version, generates an encoded hash given\nonly a password, uses a random salt and the PBKDF2 algorithm.",0,null]],"paths":[[3,"Django"],[4,"HasherError"],[4,"Algorithm"],[4,"Version"],[3,"PBKDF2Hasher"],[3,"PBKDF2SHA1Hasher"],[3,"BCryptSHA256Hasher"],[3,"BCryptHasher"],[3,"SHA1Hasher"],[3,"MD5Hasher"],[3,"UnsaltedSHA1Hasher"],[3,"UnsaltedMD5Hasher"],[8,"Hasher"]]}; initSearch(searchIndex);