Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: AuthenticationHelper - Handle negative BigIntegers (#7618)
* fix: Handle negative BigIntegers Using two's complement for negative numbers * Address PR comments * Address comments * Remove unused variable * Update packages/amazon-cognito-identity-js/src/AuthenticationHelper.js Co-authored-by: crockeea <ecrockett0@gmail.com> * Update packages/amazon-cognito-identity-js/src/AuthenticationHelper.js Co-authored-by: crockeea <ecrockett0@gmail.com> * Address PR comments * Move special case handling to negative block * Pad SaltToHashDevices * Make SaltToHashDevices to be unambiguously represented as a postive integer Co-authored-by: Sam Martinez <samlmar@amazon.com> Co-authored-by: crockeea <ecrockett0@gmail.com>
- Loading branch information