This is an old revision of the document!


Lecture 09 - Encryption. Hashing. APIs

  • Keywords: encryption, symmetric encryption, public key encryption, digital signatures, hash, fingerprinting, certificate, RSA, MAC, openssl, gnutls, crypt, libgcrypt, botan, side channel attack, Heartbleed

Demos

For demos, we will use the demo archive. We will a Linux system to run the demos. We download the archive using the command

wget http://elf.cs.pub.ro/cns/res/lectures/lecture-09-demo.zip

and then we unpack the archive

unzip lecture-09-demo.zip

and then access the demo folder that resulted after the unpack operation

cd lecture-09-demo/

We will now pass through the demos below.

The demos show various ways of using the RSA algorithm: generating keys, encrypting a message and decrypting the message.

RSA in the Shell

TODO

RSA in C

TODO

RSA in Python

TODO

cns/lectures/lecture-09.1417363629.txt.gz ยท Last modified: 2014/11/30 18:07 by razvan.deaconescu
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