[TIMOB-2562] iOS: shah1 algorithm, only returning 32 of 40 chars
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | ios, regression, shah1 |
Reporter | Thomas Huelbert |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:22:53.000+0000 |
Updated | 2011-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
- 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
- Thomas Huelbert 2011-04-15
confirmed against 1.5.0.9a6c6ca 4gt ipod touch (4.2.1) ipad (3.2)