Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Generate SHA256 in php4

    Hello all

    How can I generate the SHA256 of a string in php4 ?

    Regards

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    Use the PECL hash extension. A quick Google search using your question also yielded this set of classes. By the way, you can avoid all of this by just upgrading to PHP5 since it's included by default, and PHP4's end of life is in just over 7 weeks.
    Last edited by Inigoesdr; 11-10-2007 at 04:50 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •