Tk Library Source Code

View Ticket
Login
Ticket UUID: 3609843
Title: sha256 output is wrong on 32bit Linux
Type: Bug Version: None
Submitter: Created on: 2013-04-02 23:30:05
Subsystem: sha1 Assigned To: andreas_kupries
Priority: 5 Medium Severity: Minor
Status: Deleted Last Modified: 2013-05-31 19:22:23
Resolution: Not Applicable Here Closed By: aku
    Closed on: 2013-05-31 19:22:23
Description:
I am using ActiveState Tcl for 32bit and 64bit Linux. 
The command is:
sha2::sha256 -hex tk

The output is:
32bit Linux:
0b9422c2ca451b24fea81114412fb2c61e2ced68889466119b72d36c4ec3c337

64bit Linux:
1ec22d56dbbc91e849b00643bc4f10eb764441c93bde5c6090fe81db55cf6932

When using any web based sha256 generators the output is:
1ec22d56dbbc91e849b00643bc4f10eb764441c93bde5c6090fe81db55cf6932

Therefore, 32bit sha256 output seems to be incorrect.

NOTE: A ticket  ID: 3609575 was open for this issue under Tcl tracker:
http://sourceforge.net/tracker/?func=detail&aid=3609575&group_id=10894&atid=110894

I am closing that ticket and moving it to tcllib since it has been determined that the problem is with the accelerated code in tcllibc (when forced to use plain Tcl, the code behaves correctly).