Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » SHA1 Doesn't work any more for data over 65536 bytes
SHA1 Doesn't work any more for data over 65536 bytes [message #52310] Tue, 03 September 2019 12:09 Go to next message
Alboni is currently offline  Alboni
Messages: 203
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
Hello, I've updated upp to the latest nightly and now SHA1String gives incorrect results if the data is longer than 65536 bytes.
Re: SHA1 Doesn't work any more for data over 65536 bytes [message #52313 is a reply to message #52310] Wed, 04 September 2019 15:05 Go to previous messageGo to next message
Alboni is currently offline  Alboni
Messages: 203
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
I've copied the older working function back into Core for now. (see attachment)
  • Attachment: SHA1.cpp
    (Size: 5.67KB, Downloaded 49 times)
  • Attachment: Hash.h
    (Size: 2.70KB, Downloaded 46 times)
Re: SHA1 Doesn't work any more for data over 65536 bytes [message #52314 is a reply to message #52313] Thu, 05 September 2019 08:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13045
Registered: November 2005
Ultimate Member
Hopefully fixed in the trunk. Nasty typo...

Mirek
Re: SHA1 Doesn't work any more for data over 65536 bytes [message #52321 is a reply to message #52314] Thu, 05 September 2019 14:07 Go to previous message
Alboni is currently offline  Alboni
Messages: 203
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
Great! I'll check it out.
Previous Topic: Problem with Vector::Add (pick/clone semantics)
Next Topic: calling delete on pointer
Goto Forum:
  


Current Time: Fri Jan 22 03:24:40 CET 2021

Total time taken to generate the page: 0.01580 seconds