{ "id": "63087", "key": "TIMOB-2455", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-26T12:08:39.000+0000", "created": "2011-04-15T03:20:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19359", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T22:03:14.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}

What I am trying to do is hash an image. Unfortunately (using\nSDK 1.4.1.1 and iOS 3.2) it does not appear that there is any way\nto access the raw data (in an array of bytes or as a string etc).\nSo the built in MD5 digest function throws an error, and other\njavascript based hashing algorithms are not useful either.

\n

For the Blob object, access to the raw data should be\nprovided.

\n

Thank you.

{html}", "attachment": [], "flagged": false, "summary": "Blob Object does not provide access to the raw data ", "creator": { "name": "tim.alosi", "key": "tim.alosi", "displayName": "Tim.Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tim.alosi", "key": "tim.alosi", "displayName": "Tim.Alosi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209678", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce SDK 2.2.0.014b86f on iPhone Sim 5.1.\r\n\r\nTest code:\r\n{code}\r\nvar image = Ti.UI.createImageView({\r\n\timage:'images/chat.png'\r\n});\r\n\tTi.API.info(Ti.Utils.md5HexDigest(image.toBlob()));\t\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T12:08:08.000+0000", "updated": "2012-07-26T12:08:30.000+0000" }, { "id": "209679", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopen to edit comment", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T12:08:21.000+0000", "updated": "2012-07-26T12:08:21.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }