First commit

This commit is contained in:
2026-01-11 09:19:22 +01:00
commit 50f7b1159e
108 changed files with 11791 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# 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
```