HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
Keeping secrets with JavaScript – An Introduction to the WebCrypto API

timtaubert.de · 51 HN points · 0 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention timtaubert.de's video "Keeping secrets with JavaScript – An Introduction to the WebCrypto API".
Watch on timtaubert.de [↗]
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Nov 01, 2014 · 51 points, 3 comments · submitted by humpt
diafygi
A great talk. I had no idea you could create a prompt for the user to input their password that wouldn't be visible to Javascript (really cool!).

One thing that was really glossed over in the beginning was switching from an arbitrary data format to an ArrayBuffer. Is there are built-in way to do that operation or will we need to write our own conversion functions?

ttaubert
For non-binary data in general you would have to create your own serialization mechanism. For everything that can be represented textually you can however use the TextEncoder/Decoder API: "var buffer = new TextEncoder("utf-8").encode(text)".
diafygi
Thanks for the response. What I wouldn't give for a built-in equivalent of python's pickle.
None
None
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.