samp.directory
← Skrypty i biblioteki

knryuu/pawnplus-bcrypt-next

PawnPlus bcrypt next for open.mp and SA:MP.

Biblioteka★ 7zaktualizowano wrz 2025AGPL-3.0Pawnsampctl
Otwórz na GitHubie

Zainstaluj za pomocą sampctl

sampctl package install knryuu/pawnplus-bcrypt-next

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

README.md

PawnPlus Bcrypt NEXT

PawnPlus bcrypt NEXT with some improvement based on samp_bcrypt plugin only.

Unlike the other versions, this one keeps everything simple and neat. Only less than 200 lines of code to implement it.

[!NOTE] Now the include supports both open.mp and SA:MP seamlessly.

Installation

sampctl

Type the following command:

sampctl install knryuu/pawnplus-bcrypt-next

To install the include.

Began using the include by typing #include <pp-bcrypt>.

Manual Installation

  • Download PawnPlus and samp_bcrypt, extract it to your server folder.
  • Download pp-bcrypt.inc from the release page, put the .inc file to pawno/include or qawno/include.
  • Began using the include by typing #include <pp-bcrypt>.

Functions

native Task:bcrypt_async_hash(const input[], cost = BCRYPT_COST);
native Task:bcrypt_async_hash_s(ConstStringTag:input, cost = BCRYPT_COST);

native Task:bcrypt_async_verify(const input[], const hash[]);
native Task:bcrypt_async_verify_s(ConstStringTag:input, ConstStringTag:hash);

native String:bcrypt_get_hash_s();

Examples

Refer to test.pwn to see the usage of this include.

openmppawn-packagepawnpluspp-bcryptsa-mpsa-mp-librarysamp-bcrypt

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

knryuu/pawnplus-bcrypt-next: Biblioteka SA-MP | samp.directory