In Phalcon 1.3.2 the security->hash is not working as you can see in this discussion on GitHub: https://github.com/phalcon/cphalcon/issues/2277
My question is how to use only php to simulate e.g. this:
$hash = $this->security->hash("something");
so, I can use this hack until the issue is resolved in 1.3.3 version.
Any php guys here? My PHP is 5.4.16, therefore I cannot use password_hash()
btw. one guy compiled phalcon with the fix, https://github.com/WooDzu/cphalcon-windows/tree/master/1.3.3%20-%20ALPHA
but it's probably a 64-bit version and I need a 32-bit version or vice-versa. I need a compiled version that is approximately 2,5 MB big and not 2,7 MB big like the version of PhalconPHP 1.3.3 from this guy.