summaryrefslogtreecommitdiff
path: root/spec/calculate_spec.js
AgeCommit message (Collapse)Author
2013-10-14properly treat utf8 chars in passwordAzul
utf-8 encoding used to be bundled with the SHA256 library. However we only want to utf8 encode strings that are actual user input. We do not want to encode the bytearrays that are used when hashing the hex values calculated during for SRP. So I separated the utf-8 encoding and the sha256 hashing.
2013-07-12also prefix our own toString(16) hex valuesAzul
2013-06-24refactor: rename constants to calculate and clean up hash usageAzul