First commit
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user