/
Cryptography

Cryptography

Here are a set of steps to build python cryptography package

Pre-requisite

Microsoft Visual Studio 2019 or newer with ARM64 toolchain

Rust compiler for Windows on ARM64

Build OpenSSL

The first step is to build OpenSSL library which is a dependency for cryptography.

  1. Checkout OpenSSL repository

GitHub - openssl/openssl: TLS/SSL and crypto library

2. Configure and compile the library

perl .\Configure VC-WIN64-ARM no-asm --prefix=<location to install> --openssldir=<location for ssl config> nmake install

3. Add OpenSSL to LIB and PATH environment variable

$env:LIB+=";C:\Users\niysai01\Workspace\openssl_install\release\lib" $env:INCLUDE+=";C:\Users\niysai01\Workspace\openssl_install\release\include”

Build Cryptography package

  1. Checkout Cryptography source code

GitHub - pyca/cryptography: cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

2. Build package

python setup.py install

3. Test

Related content

Fortran
Read with this
Build Packages from Source
Build Packages from Source
More like this
A tale of a dependency chain: Pillow and the crew
A tale of a dependency chain: Pillow and the crew
Read with this
OpenSSL
More like this
Jupyter Dependencies
Jupyter Dependencies
Read with this
PyNaCl
More like this