Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python library for demonstrating the functionality of common cryptographic algorithms

License

NotificationsYou must be signed in to change notification settings

lonkey/simple-cryptographic-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python library for demonstrating the functionality of common cryptographic algorithms.

Requirements

Python 3.7.9 or later.

Creating a virtual environment

venv allows you to manage separate package installations for different projects. It essentially allows you to createa "virtual" isolated Python installation and install packages into that virtual installation. When you switch projects,you can simply create a new virtual environment and not have to worry about breaking the packages installed in the otherenvironments.

python3 -m venv venv

The second argument is the location, and thus the name, to create the virtual environment. Generally, you can justcreate this in your project and call it venv. If you name the virtual environment differently, the .gitignore must bemodified accordingly.

Activating a virtual environment

Before you can start installing or using packages in your virtual environment you’ll need to activate it.

Command-lineScript
bash/zsh$ source <venv>/bin/activate
fish$ source <venv>/bin/activate.fish
csh/tcsh$ source <venv>/bin/activate.csh
PowerShell Core$ <venv>/bin/Activate.ps1
cmd.exeC:\> <venv>\Scripts\activate.bat
PowerShellPS C:\> <venv>\Scripts\Activate.ps1

Using requirements file

A requirements file contains a list of dependencies to be installed using pip.

python3 -m pip install -r requirements.txt

Usage

To use, simply uncomment the corresponding function inmain.py and adjust the sample values if necessary.

python3 main.py

To Do

  • Unify output of mathematical conditions
  • Add an English translation

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp