Python Forum

Full Version: Documentation for crypt function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
While it is possible that I didn't understand it because I am a newbie, it seems to me that the documentation page about the crypt module could be improved. Specifically, in the crypt.crypt section, when talking about salt, it says that it can be prefixed by '$digit$'. The page could specify which digits are to be used to choose between SHA256 and SHA512 method (I figured it out by trying what mksalt() did).
Thank you for your attention.
You're probably looking at an old version (for python 2.7)
see: https://docs.python.org/3.6/library/crypt.html