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/crypt_gensalt.phpt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/crypt_gensalt.phpt (limited to 'tests/crypt_gensalt.phpt') diff --git a/tests/crypt_gensalt.phpt b/tests/crypt_gensalt.phpt new file mode 100644 index 0000000..b838a04 --- /dev/null +++ b/tests/crypt_gensalt.phpt @@ -0,0 +1,25 @@ +--TEST-- +Test crypt_gensalt +--FILE-- + +--EXPECTF-- +string(2) "%s" +string(9) "_%s" +string(11) "$1$%s" +string(29) "$2y$%s" +string(19) "$5$%s" +string(19) "$6$%s" +string(36) "$7$%s" +string(30) "$gy$%s" +string(29) "$y$j%s" -- cgit