cryptography in
javascript
what the hell?!
!

brnojs
a.k.a.
stretnutie kamarátov javascriptu
introduction Cryptography

What?
introduction Communication

Alice

Bob

Eve
introduction Secure?

Integrity
introduction Secure?

Confidentiality
introduction Cryptography

Why?
introduction Encryption and decryption

ciphertext := Encrypt(key, message)
!

message := Decrypt(key, ciphertext)
introduction Symmetric-key crypto

C := E(K, M)
M := D(K, C)
introduction Public-key crypto

C := E(Kpublic, M)
M := D(Kprivate, C)
problems Why is it hard?

Entropy
problems Why is it hard?

Performance
conclusion Konec

Want to know more?
thank you
for your attention
Martin Kačmar
@martinkacmar

Cryptography in JavaScript, what the hell?!