Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document utf8 assumption for MesssageDigest string API. #36

Open
alexanderkjeldaas opened this issue Oct 19, 2013 · 0 comments
Open

Document utf8 assumption for MesssageDigest string API. #36

alexanderkjeldaas opened this issue Oct 19, 2013 · 0 comments
Assignees

Comments

@alexanderkjeldaas
Copy link

I see that both cryptojs and sjcl encodes strings as utf8 before hashing. It would be a nice-to-have to document this in the string APIs.

So if strings are used to keep an array of 8-bit values, the hex interface must be used.

@ghost ghost assigned kjur Oct 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants