Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypt should support the blowfish extensions #1071

Closed
Aatch opened this issue Sep 18, 2013 · 2 comments
Closed

crypt should support the blowfish extensions #1071

Aatch opened this issue Sep 18, 2013 · 2 comments

Comments

@Aatch
Copy link
Contributor

Aatch commented Sep 18, 2013

Zend crypt supports blowfish via the addition of $2x$ and $2y$.

Test Program

<?php
var_dump(crypt('test', '$2y$10$abcdefefewagthe4u6js43u8ikjut'));

Actual Output

string(2) "*0"

Expected Output

string(60) "$2y$10$abcdefefewagthe4u6js4uULctBzywdycWeBISW7sfmvlNIKf/z4y"
@scannell
Copy link
Contributor

Agreed. We don't support this yet. Pull requests welcome.

@Aatch
Copy link
Contributor Author

Aatch commented Nov 25, 2013

This has been fixed by 4a23fdc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants