From ef4627a6a618b460cbbea109e3e0522c891be72c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Sep 2024 10:13:12 +0200 Subject: More bindings (function missing in php) - add crypt_gensalt(?string $salt = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} and bump version to 1.1.0-dev (new functions) --- tests/password_compat.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/password_compat.phpt (limited to 'tests/password_compat.phpt') diff --git a/tests/password_compat.phpt b/tests/password_compat.phpt new file mode 100644 index 0000000..3dd6ad2 --- /dev/null +++ b/tests/password_compat.phpt @@ -0,0 +1,22 @@ +--TEST-- +Test crypt compatibility with password_hash +--FILE-- + +--EXPECTF-- +string(60) "$2y$%s$%s" +bool(true) +bool(true) +string(60) "$2y$%s$%s" +bool(true) +bool(true) + -- cgit