cryptotools/README.md
2026-01-11 09:19:22 +01:00

32 lines
698 B
Markdown

# Introduction
This project contains the module *cryptotools* which can used for cryptography
# Install the program
```
$ virtualenv ~/venv/myenv
$ source ~/venv/myenv/bin/activate
$ python3 setup.py install
```
## Examples
In the directory *examples/*, you have different python files for using the module
## Unitests
### Test phi
```
$ python3 tests/test_phi.py -v
```
### Test Fibonacci
For testing Fibonacci sequence, I generate a list from OEIS wich contains 40 first numbers of Fibonacci. The `test_numbers.py` test the Fibonacci sequence generated from the functions `fibonacci` in `utils/numbers.py`:
```
$ python3 tests/test_numbers.py -v
```
# Build the doc
```
$ mkdocs build
```