Skip to content
프로젝트

소개

bcrypt password hash C library

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
This library is a simple wrapper providing a convenient reentrant interface for
the bcrypt password hashing algorithm implementation as provided by Solar
Designer at http://www.openwall.com/crypt/. An exact copy of that source code
is included in the crypt_blowfish subdirectory.

The library builds and works on Linux with glibc 2.25 or later. It should also
work on Linux with musl 1.1.20 or later, FreeBSD and OpenBSD, but this has not
been tested. macOS and Windows are not supported.

The provided C interface is inspired in the bcrypt Python module that can be
found at https://pypi.python.org/pypi/bcrypt/, and consists of a function to
generate salts with the characteristic work factor parameter, one to generate
password hashes (which can also be used to verify passwords) and one designed
specifically to verify passwords, comparing hashes in constant time.

Additional functions are provided to hash and verify passwords using a salted
SHA-512 or SHA3-512 pre-hash, which avoids the 72-character limit of the bcrypt
implementation without the weaknesses of a plain unsalted pre-hash.

Please check the header bcrypt.h and the generated manpage. Both mention the
prototypes, describe what they do and include examples.

The INSTALL file explains how to build and install the library from its source
code and lists the requirements for doing so.

All this code is released to the public domain under the terms of CC0. See the
COPYING file for the legal text.

관련 프로젝트 살펴보기

불러오는 중…