{ "id": "63194", "key": "TIMOB-2562", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:27.000+0000", "created": "2011-04-15T03:22:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "regression", "shah1" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

from ticket \nhttp://developer.appcelerator.com/question/55611/sha1-algorithm-not...

\n

from the helpdesk ticket

\n

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

\n

as per Jeff, must fix for 1.5.0

{html}", "attachment": [], "flagged": false, "summary": "iOS: shah1 algorithm, only returning 32 of 40 chars", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128788", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:54.000+0000", "updated": "2011-04-15T03:22:54.000+0000" }, { "id": "128789", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:54.000+0000", "updated": "2011-04-15T03:22:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }