Home
last modified time | relevance | path

Searched refs:mksalt (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_crypt.py41 salt = crypt.mksalt(method)
52 cr = crypt.crypt('assword', crypt.mksalt(method))
72 salt = crypt.mksalt(method, rounds=rounds)
86 salt = crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1 << log_rounds)
98 crypt.mksalt(method, rounds='4096')
100 crypt.mksalt(method, rounds=4096.0)
103 crypt.mksalt(method, rounds=rounds)
105 crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1000)
108 crypt.mksalt(method, rounds=4096)
/third_party/python/Lib/
H A Dcrypt.py36 def mksalt(method=None, *, rounds=None): function
81 returned by ``crypt.mksalt()``.
85 salt = mksalt(salt)
95 salt = mksalt(method, rounds=rounds)

Completed in 1 milliseconds