Cryptography and Computer Security

This repository contains materials for the Cryptography and Computer Security course at the Faculty of Computer Science and Informatics, University of Ljubljana.

Notes from tutorials

Notebooks

Currently, the following Jupyter notebooks for Python/Sage are available:

algorithms

To use the algorithms in Python, make sure that the root of the repository is visible to Python. Then you may import them with

import algorithms

or

from algorithms import *

Currently, the following functions are available:

See sources for the documentation.

Note that logarithmTable requires Sage and will therefore not work with plain Python. indexCalculus calls logarithmTable if a table of logarithms is not specified. If it is given, the function can be used with plain Python.