DomBlack / php-scrypt

A PHP wrapper fo the scrypt hashing algorithm
Other
209 stars 57 forks source link

Scrypt wrapper: fixed imminent PHP parse error, as function keyword miss... #27

Closed danemacmillan closed 10 years ago

danemacmillan commented 10 years ago

...ing. Entire strlen method filled with redundant checks. Later in the class its being referenced statically, instead of using the self keyword, which is the proper use case for this context. Also, restored strlen against hash in check method, as it was removed without reason.

Fixes issue #25

DomBlack commented 10 years ago

Fixed merged in using #28 instead.