Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2562] iOS: shah1 algorithm, only returning 32 of 40 chars

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsios, regression, shah1
ReporterThomas Huelbert
AssigneeStephen Tramer
Created2011-04-15T03:22:53.000+0000
Updated2011-04-17T01:59:27.000+0000

Description

from ticket http://developer.appcelerator.com/question/55611/sha1-algorithm-not-working-missing-last-8-characters"> http://developer.appcelerator.com/question/55611/sha1-algorithm-not...

from the helpdesk ticket

I'm trying to create an SHA-1 hash, and the built-in function is only returning 32 characters instead of the required 40. The first 32 characters are correct, but I need to have the last 8 as well. Any help on this would be greatly appreciated.
NOTE: this bug only exists in the iPhone implementation of Ti.Utils.sha1(). The Android implementation works correctly.

as per Jeff, must fix for 1.5.0

Comments

  1. Thomas Huelbert 2011-04-15

    confirmed fix on ipod touch 4gt 4.2.1, wifi ipad 3.2, smoked on android g2, 1.5.1.9819ce0

  2. Thomas Huelbert 2011-04-15

    confirmed against 1.5.0.9a6c6ca 4gt ipod touch (4.2.1) ipad (3.2)

JSON Source