dev-bittu / cryptography-in-termux

This repository contains instructions on how to install Cryptography (python package)in Termux, without root.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cryptography in Termux

This project aims to provide a guide for how to install cryptography (python package) within Termux on Android devices.

Installation Guide

Follow these steps to set up the cryptography in Termux on your Android device:

If you just want to install cryptography for programming. Install python-cryptography from pkg or apt. But if you have virtual environment or a project demands a specific version of cryptography, it fails. Then the only way is to follow the steps mentioned below 👇.

Quick Install

We have created a commands.sh file to streamline this process. Open termux and run this command:

curl -s https://raw.githubusercontent.com/dev-bittu/cryptography-in-termux/main/commands.sh | bash

OR if you want to install it manually, follow the steps mentioned below.

Step 1: Install Termux

  1. Install Termux from fdroid (latest).
  2. Open the installed Termux application.

Step 2: Update Termux

  1. Run the following command in Termux:
pkg update -y && pkg upgrade -y

Step 3: Install Required Packages

  1. To install gcc-11, it is necessary to install tur-repo:
pkg install tur-repo -y
  1. Install gcc-11:
pkg install gcc-11 -y

Now, Install essential packages for cryptography:

pkg install git python3 rust binutils-is-llvm -y

Step 4: Export variables

export CXXFLAGS="-Wno-register"
export CFLAGS="-Wno-register"

Step 5: Install Python Cryptography Library

  1. Install the Python cryptography library:
pip install cryptography

Step 6: Explore the Tools

  1. You can now use the cryptography tools within Termux for various encryption and decryption tasks.
  2. Refer to the tool's documentation within the repository for guidelines on specific operations.

Usage

  1. Run the cryptography scripts using Python in Termux. python script_name.py

Support or Contact

If you have any questions or need assistance, feel free to reach out to us or create an issue.

About

This repository contains instructions on how to install Cryptography (python package)in Termux, without root.


Languages

Language:Shell 100.0%