PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Jul 09, 2020 10:57 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: SHA256 (without mhash)
PostPosted: Mon Feb 21, 2005 9:44 am 
Offline
DevNet Master
User avatar

Joined: Tue Nov 02, 2004 6:43 am
Posts: 2704
Location: Ireland


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 21, 2005 9:57 am 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
if you can find source for it, we may be able to help port it to php.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 21, 2005 12:19 pm 
Offline
DevNet Master
User avatar

Joined: Tue Nov 02, 2004 6:43 am
Posts: 2704
Location: Ireland


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 3:05 pm 
Offline
Forum Regular
User avatar

Joined: Sun Feb 29, 2004 2:26 pm
Posts: 939
Location: UK - Glasgow


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 5:49 pm 
Offline
Forum Contributor
User avatar

Joined: Thu Jan 27, 2005 4:10 pm
Posts: 292
Location: Houston, TX
I have no idea if this will help you but there is a reference to SHA256 in the source here when you browse the source repository.



And this just javascript implementation looks like it would be easy to convert to PHP.



Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 6:55 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 26, 2005 7:30 pm 
Offline
Forum Contributor
User avatar

Joined: Thu Jan 27, 2005 4:10 pm
Posts: 292
Location: Houston, TX
What kind of problem are you having? How about posting the code that you have ported? Maybe we can make it work.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 3:24 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
I've decided to implement my own version of the specification.. as trying to port over the Javascript or C versions linked to thus far have proven really time consuming and a pain to troubleshoot/debug to find the points of issue.. I'll post my implementation when I finish hopefully in a day or two.. (with tests) .. it uses some static classes and OOP (PHP4 though) .. will see about making a PHP5 version if needed.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 3:56 am 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
source has been posted:

http://forums.devnetwork.net/viewtopic.php?t=31069


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 9:19 pm 
Offline
Tutorials Group

Joined: Sun Jan 04, 2004 11:30 pm
Posts: 2692


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 9:44 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 11, 2005 5:46 pm 
Offline
DevNet Master
User avatar

Joined: Tue Nov 02, 2004 6:43 am
Posts: 2704
Location: Ireland
This is great work feyd - I'm glad I made that initial post :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 11, 2005 7:54 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
In case no one noticed, I've posted a new version with a PHP internal integer truncation fix for certain machines that were producing errors. Have fun.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2005 4:03 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
just for those that don't look at the code snippets board regularly:

I've updated the class () to version 1.1.0. Added features are hashing of files and URLs. Speed apparently is up too. Go check it out.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group