Question:

What is the code for SHA512? PHP

by  |  earlier

0 LIKES UnLike

I seem to unable to find the code for SHA512. I tired SHA512 or SHA-512 but nothing. I know SHA1 - this works.

Is there other better one than SHA1? Lets me say this way, what is the latest?

 Tags:

   Report

1 ANSWERS


  1. $input = "something";

    $output = hash("sha512", $text);

    Note: PHP 5 >= 5.1.2

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.