October 2019
Intermediate to advanced
444 pages
10h 37m
English
We will work on creating an SHA256 digest again and will use the same folder structure as we have in every recipe in this chapter. Create a python-rust directory and initialize a new Rust project there using cargo new rust-digest --lib.
For the Python part of the project, install Python (3.6/3.7) by following the instructions on the website. Then, create the following folder structure and files (empty is OK for now) inside python-rust/python:
$ tree pythonpython├── setup.py└── src └── digest.py1 directory, 2 files
Open the entire python-rust folder in VS Code and you are ready to go.
Read now
Unlock full access