pyphash 0.0.1 - 2 minutes read
pyphash · PyPI
pyphash is a Python extension module that wraps the C library function , which performs passphrase hashing, in the simplest possible fashion. It exposes one function, named , which works just like the C except that it is thread safe:
You have to create settings strings yourself.
This module is not intended to be used by programs that actually need to hash passphrases—if it were, it would at least also provide access to . Rather, its purpose is to be a test case for the packaging toolchain for C extension modules. Linux distributions are changing how they provide the shared library that implements , and Python packaging must adapt. See manylinux bug #305 for the gory details.
For thread safety, the module actually uses the reentrant variant of called , and looks for it in rather than . It will fail to compile if this function or this header is not available.
Source: Pypi.org
Powered by NewsAPI.org
Keywords:
Python Package Index • Python (programming language) • Filename extension • Modular programming • C standard library • Library (computing) • Passphrase • Hash function • Thread safety • Settings (Windows) • String (computer science) • Modular programming • Computer program • Microsoft Access • Test case • Package manager • Toolchain • Plug-in (computing) • Modular programming • Linux • Library (computing) • Implementation • Python (programming language) • Package manager • Software bug • Thread safety • Modular programming • Reentrancy (computing) • Subroutine • Include directive •
pyphash is a Python extension module that wraps the C library function , which performs passphrase hashing, in the simplest possible fashion. It exposes one function, named , which works just like the C except that it is thread safe:
You have to create settings strings yourself.
This module is not intended to be used by programs that actually need to hash passphrases—if it were, it would at least also provide access to . Rather, its purpose is to be a test case for the packaging toolchain for C extension modules. Linux distributions are changing how they provide the shared library that implements , and Python packaging must adapt. See manylinux bug #305 for the gory details.
For thread safety, the module actually uses the reentrant variant of called , and looks for it in rather than . It will fail to compile if this function or this header is not available.
Source: Pypi.org
Powered by NewsAPI.org
Keywords:
Python Package Index • Python (programming language) • Filename extension • Modular programming • C standard library • Library (computing) • Passphrase • Hash function • Thread safety • Settings (Windows) • String (computer science) • Modular programming • Computer program • Microsoft Access • Test case • Package manager • Toolchain • Plug-in (computing) • Modular programming • Linux • Library (computing) • Implementation • Python (programming language) • Package manager • Software bug • Thread safety • Modular programming • Reentrancy (computing) • Subroutine • Include directive •