APPLIED CRYPTOGRAPHY:
FROM ALGORITHMS TO LIBRARIES
APPLIED CRYPTOGRAPHY: FROM ALGORITHMS TO LIBRARIES @ABSTRACTJ - - PowerPoint PPT Presentation
APPLIED CRYPTOGRAPHY: FROM ALGORITHMS TO LIBRARIES @ABSTRACTJ GOAL OF THIS PRESENTATION ALGORITHMS An algorithm must be seen to be believed. Donald E. Knuth THIS TALK IS NOT ABOUT ALGORITHMS, ONLY SECURITY the state of being
FROM ALGORITHMS TO LIBRARIES
“ An algorithm must be seen to be
believed.
― Donald E. Knuth
“ the state of being free from danger or
threat
“ Cryptography is the art and science of
encryption
― Cryptography Engineering
“ The study of codes, or the art of
writing and solving them.
― Oxford dictionaries
HISTORICALLY FOCUSED ON SECRET COMMUNICATIONS
~ 1553, Rome
(1920)
(1974)
Key size 2⁵⁶, block size 64 bits Short key sizes can be subject of brute force Should be avoided Broken in 22 hours
(1974)
File integrity Random IDs API authentication Password storage JWTs Software updates Bank transactions
Hashes Block ciphers Stream ciphers Digital signatures Message authentication codes Private key encryption Public key encryption
MOST PART OF THE TIME IS LIKE
Source: Veracode
Source: Stackoverflow
“ A cryptosystem should be secure even
if everything about the system, except the key, is public knowledge
― Kerckhoffs's principle
Java Node.js & Ruby Web javax.crypto OpenSSL WebCrypto BouncyCastle libsodium sjcl Keyczar crypto-js Jasypt
Hmmm, I wish I had an app to share my notes
Why not? Count me in
I like it!
Barbecue tomorrow? Yes, please!
Barbecue tomorrow 12 pm? Yes! Barbecue on Monday 9 am?
white.jpg e06723d4961a0a3f950e7786f3 766338 brown.jpg e06723d4961a0a3f950e7786f3 766338
SHA-224 SHA-256 SHA-384 SHA-512 ARE ALL GOOD CHOICES
Alice Bob
Source: Wikipedia Text Text Text Text
Source: Wikipedia
Source: Wikipedia
Alice Bob sK pK sK pK
“ Privacy is an inherent human right, and a
requirement for maintaining the human condition with dignity and respect. It is about choice, and having the power to control how you present yourself to the world. Bruce Schneier
http://abstractj.org https://keycloak.org https://github.com/abstractj/krypto-playground