[php-src] Issue #22136: add support for OpenSSH's bcrypt variant?

[email protected] (prescriptionlifeline) Sat, 23 May 2026 16:53:38 +0000
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/22136
Author: prescriptionlifeline

### Description

Per https://phpseclib.com/docs/bcrypt I gather OpenSSH uses a non-standard version of bcrypt with its encrypted keys. Maybe PHP's `password_hash()` method could be updated to support this?

I'll concede that it's relatively obscure but `hash()` supports rather obscure algorithms as well.