Differences

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

Link to this comparison view

ic:labs:08 [2023/11/20 21:02]
razvan.smadu
ic:labs:08 [2023/11/22 01:03] (current)
razvan.smadu [Exercițiul 1 - OpenSSL în linia de comanda (3p)]
Line 42: Line 42:
   * Acum folositi SHA256 pentru a obtine (ke|km) = SHA256(k0). Vedeti openssl -dgst. Puteti face pipe ca sa trimiteti date de intrare catre SHA256 sau alte functii openssl, e.g.:   * Acum folositi SHA256 pentru a obtine (ke|km) = SHA256(k0). Vedeti openssl -dgst. Puteti face pipe ca sa trimiteti date de intrare catre SHA256 sau alte functii openssl, e.g.:
 <​code>​ <​code>​
-   #echo $k0 | openssl ​-dgst sha256+   #​echo ​-n $k0 | openssl dgst -sha256
 </​code>​ </​code>​
 unde k0 contine cheia aflata la punctul precedent (hint: ar trebui sa fie gustoasa...). unde k0 contine cheia aflata la punctul precedent (hint: ar trebui sa fie gustoasa...).
ic/labs/08.1700506929.txt.gz · Last modified: 2023/11/20 21:02 by razvan.smadu
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