[ https://issues.apache.org/jira/browse/FLEX-33260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499841#comment-13499841 ]
Frédéric THOMAS commented on FLEX-33260: ---------------------------------------- I just did the test replacing the int with uint, the computeDigest function still gives the same good results, the advantage is that you won't have those warnings anymore. > An initial value in SHA256 for type 'int' must be between -2147483648 and > 2147483647 > ------------------------------------------------------------------------------------ > > Key: FLEX-33260 > URL: https://issues.apache.org/jira/browse/FLEX-33260 > Project: Apache Flex > Issue Type: Bug > Components: .Unspecified - Framework > Reporter: Michael Schmalle > Priority: Minor > Labels: EasyFix, Falcon > Fix For: Adobe Flex SDK Next > > > flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:111 > Warning: Initializer value 3144134277 for type 'int' must be between > -2147483648 and 2147483647 inclusive. An initial value of -1150833019 will be > used instead. > var h1:int = 0xbb67ae85; > ^ > flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:113 > Warning: Initializer value 2773480762 for type 'int' must be between > -2147483648 and 2147483647 inclusive. An initial value of -1521486534 will be > used instead. > var h3:int = 0xa54ff53a; > ^ > sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:115 > Warning: Initializer value 2600822924 for type 'int' must be between > -2147483648 and 2147483647 inclusive. An initial value of -1694144372 will be > used instead. > var h5:int = 0x9b05688c; > ^ > I do not know how to fix these but it looks like the initial value doesn't > fit in an int. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira