diff options
author | Azul <azul@riseup.net> | 2013-10-14 11:43:34 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-10-14 11:52:44 +0200 |
commit | 4c8e593b7b03abb19b451b6be999f10e0fed5ff4 (patch) | |
tree | f4ae8de3d30267443b0a242887d8e583fdb174d1 /spec/account_spec.js | |
parent | 948898fd93dd90031602a445cfc5dd432ddc7f39 (diff) |
properly treat utf8 chars in password
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.
Diffstat (limited to 'spec/account_spec.js')
0 files changed, 0 insertions, 0 deletions