Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 php 中使用 glftpd 的哈希算法吗?我怎么能找到那个算法?
我认为这个片段可以引导我找到答案......
PKCS5_PBKDF2_HMAC_SHA1(pwd, strlen(pwd), real_salt, SHA_SALT_LEN, 100, mdlen, md);
PHP-PasswordLib库支持PBKDF。
PHP >= 5.5 提供了 PBKDF2 的原生hash_pbkdf2()实现。