Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1168] iPhone: add native SHA1 utility

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:24.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsios, iphone, sha1
ReporterJeff Haynie
AssigneeJeff Haynie
Created2011-04-15T02:45:41.000+0000
Updated2011-04-17T01:55:24.000+0000

Description

add SHA1 native code in Utils module.

Comments

  1. Jeff Haynie 2011-04-15

    (from [1d569f43c17aec2f4e1455135a9d486210ff02dc]) [#1169 state:resolved] added SHA1 to Utils for Android [#1168 state:resolved] added SHA1 to Utils for iPhone [#1111 state:resolved] Android Utils base64 should return blob http://github.com/appcelerator/titanium_mobile/commit/1d569f43c17aec2f4e1455135a9d486210ff02dc"> http://github.com/appcelerator/titanium_mobile/commit/1d569f43c17ae...

  2. Jonathan Harlap 2011-04-15

    The SHA1 implementation for iPhone truncates the hex output at 32 chars instead of 40 chars, as discussed at http://developer.appcelerator.com/question/55611/sha1-algorithm-not-working-missing-last-8-characters"> http://developer.appcelerator.com/question/55611/sha1-algorithm-not...

    There's also an open but unassigned ticket for this at https://appcelerator.lighthouseapp.com/projects/32238/tickets/1789-iphone-implementation-of-sha-1-algorithm-does-not-work-correctly"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/1789-....

JSON Source