incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [jira] [Created] (FLEX-33260) An initial value in SHA256 for type 'int' must be between -2147483648 and 2147483647
Date Wed, 14 Nov 2012 04:05:28 GMT



On 11/13/12 7:03 PM, "Gordon Smith" <gosmith@adobe.com> wrote:

> It seems like that would be the correct way to code the algorithm, but I'd be
> concerned that I might potentially introduce some bug, and I don't know that
> we have any tests for the SHA256 class.
Gordon, I have this vague recollection that Darrell found some tests on-line
to validate the code when he first wrote it.  I'll check with him.
> Changing from an int which is
> apparently initialized to 3144134277 but which actually gets set to
> -1150833019 to an int that is actually initialized to -1150833019 should be a
> very safe change.
> 
> - Gordon

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message