Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ic:laboratoare:09 [2020/09/26 16:38]
philip.dumitru [Exercise 3] Fixed encrypted file
ic:laboratoare:09 [2020/11/05 17:54] (current)
acosmin.maria
Line 49: Line 49:
 </​note>​ </​note>​
  
-<​hidden>​The solution is {{:​ic:​laboratoare:​lab9_sol.zip|here}}.</​hidden>​ 
  
  
Line 65: Line 64:
  
 ==== Exercise 4 ==== ==== Exercise 4 ====
 +
 +<​hidden>​
 +
 +<note hint>
 +The problem has been fixed, so no more code for students!
 +</​note>​
  
 In case you didn't manage to solve Exercise 3 (more recent versions of openssl are not compatible with respect to the encryption/​decryption using password), here is the lab starting code: In case you didn't manage to solve Exercise 3 (more recent versions of openssl are not compatible with respect to the encryption/​decryption using password), here is the lab starting code:
Line 170: Line 175:
 } }
 </​code>​ </​code>​
 +
 +</​hidden>​
  
 In this exercise we'll use OpenSSL to encrypt and decrypt with AES-128-GCM. Unfortunately,​ AES-GCM is not supported by the command line utilities of OpenSSL so we'll have to implement it ourselves. In this exercise we'll use OpenSSL to encrypt and decrypt with AES-128-GCM. Unfortunately,​ AES-GCM is not supported by the command line utilities of OpenSSL so we'll have to implement it ourselves.
Line 229: Line 236:
 See the open ssl manual [[https://​www.openssl.org/​docs/​man1.1.0/​crypto/​EVP_aes_256_gcm.html|here]] page for EVP encrypt to see the usage of the EVP functions and an example similar to the one above. See the open ssl manual [[https://​www.openssl.org/​docs/​man1.1.0/​crypto/​EVP_aes_256_gcm.html|here]] page for EVP encrypt to see the usage of the EVP functions and an example similar to the one above.
 </​note>​ </​note>​
- 
-<​hidden>​ 
-The solution is {{:​ic:​laboratoare:​lab10_sol.zip|here}}. 
- 
-Alternative solution: [[https://​paste.ubuntu.com/​p/​4XZpMtt9ZZ/​|Source code]] 
-</​hidden>​ 
ic/laboratoare/09.1601127491.txt.gz · Last modified: 2020/09/26 16:38 by philip.dumitru
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0