semvec/pypi-packages huggingface dataset:
photocrypt 0.0.8
A package that can encrypt and decrypt images
Requires Python: >=3.6
Keywords: cryptology,cryptograpy,image

# Photocrypt
The purpose of this project is to encrypt and decrypt photos using the AES algorithm with a one-time use 128-bit AES session key wrapped with 2048-bit RSA encryption. 

* Project Synopsis: [project_synopsis.md](project_synopsis.md)

* Documentation: [https://photocrypt.readthedocs.io/](https://photocrypt.readthedocs.io/)
* Github: [https://github.com/Kullmann/Photocrypt](https://github.com/Kullmann/Photocrypt)
* Pypi [https://pypi.org/project/photocrypt/](https://pypi.org/project/photocrypt/)

## Installation

### Package itself

run following command:
```pip3 install photocrypt```

### With GUI Application

first, install photocrypt gui dependency using following command:
```pip3 install photocrypt[gui]```

then clone repository:
```git clone https://github.com/Kullmann/RSAPhotoCryptography.git```

## Running

### Run GUI Application

from the root directory, run following command:

```python3 bin```

### Run CLI Application

from the root directory, run following command:

```python3 bin [-h] [-i image path] [-k key path] [--encrypt] [--decrypt]```

#### arguments:

  **-h**, **--help**            show this help message and exit

  **-i** **[image path]**  image file path to encrypt/decrypt

  **-k** **[key path]**       public key path    

  **--encrypt**                 encrypt given image using provided key

  **--decrypt**                 decrypt given image using provided key

#### example usage:

```python3 bin -i samples/tuatara.jpg -k public.pem --encrypt```

```python3 bin -i samples/tuatara_enc -k private.pem --decrypt```

## Testing

test scripts are available in tests/ directory.

run following command to run tests.
```python3 tests/<test name>.py```

## Requirements

photocrypt package requires python3.6 or above.

## Known Bugs

- Double encryption is not supported because crypto header is overwritten on encryption.

## Contributors

Hosung Lee

Sean Kullmann
GA-Common 0.1
Easy Use GA
Requires Python: >3.0

# GA Common

基础遗传算法库

## Features

- 二进制编码器
- 基础的交叉变异插件
- 基础的轮盘选择器
- 基础的迭代控制器

## 整体架构图

![GA基础架构图](assets/GA整体架构.png)

## 算法模型(Pro版)

![GA算法模型](assets/GA架构模式.png)

## 示例

- [简单的GA模型](example/simple_ga/simple_ga.py)

## License

[MIT](LICENSE)