0

Possible Duplicate:
SHA-512 library for PHP

I see the has() is only upto sha1. How to implement SHA512 properly with PHP, using codeignitor. Do i need an external library or is there built-in support for this? If external any suggestions on something open/free?

Thanks.

Community
  • 1
  • 1
martin
  • 1
  • That question does not have a definitative answer just 1 suggestion which does not have any documentation on the function so i assume it is not fully supported. – martin Apr 01 '11 at 16:52
  • Look again. Both functions are documented in the PHP manual. That should be affirmative enough. If you have a PHP setup where it is compiled out, there's nothing we can do about it. – mario Apr 01 '11 at 16:57

1 Answers1

1

See http://us2.php.net/manual/en/function.hash-algos.php:

print_r(hash_algos());

That should give you SHA512.

Matthew
  • 47,584
  • 11
  • 86
  • 98