OpenSSL User Manual and Data Format

2,689 views

Published on

These are the slides used for presenting the OpenSSL - User Manual and Data Format by Vittorio Giovara.

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,689
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
57
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

OpenSSL User Manual and Data Format

  1. 1. OpenSSL User Manual and Data Format 1
  2. 2. Main Functions • Benchmark • Certificates • Digital Signature • Encryption/Decryption • Private and Public Keys • a lot of other stuff... 2
  3. 3. OpenSSL Symmetric Encryption 3
  4. 4. openssl enc • cipher • salt • key • initial vector • password • ... 4
  5. 5. password? 5
  6. 6. EVP_BytesToKey arguments results • type of cipher • key (des3, aes & others) • initial vector • salt • key length • data and data length • iteration counter • hash 6
  7. 7. openssl enc -des3 -in file.txt -out file.enc -salt -k mySillyPassword -md md5 7
  8. 8. D= 0 ... ... ... means “concatenation” HASH 2 (data)= HASH(HASH(data)) 8
  9. 9. key & iv 0 A4 0C 80 14 75 41 21 90 key iv 9
  10. 10. salt 10
  11. 11. salt without salt your dishes will always taste the same! the same applies to keys and initial vectors! 11
  12. 12. Demo 12
  13. 13. 13

×