An open API service indexing awesome lists of open source software.

https://github.com/mathix420/multiplexer

[WIP] New cypher library
https://github.com/mathix420/multiplexer

Last synced: 11 months ago
JSON representation

[WIP] New cypher library

Awesome Lists containing this project

README

          

# Multiplexer

> Multiplexer is an encryption library.

## Installation

```bash
pip install multiplexer
```

## Usage

```python
from multiplexer import Plex, generate, load

book = load() or generate("michel", save=True)

p = Plex(book)

cypher = p.encode('My secret message')
print(cypher)

secret_message = p.decode(cypher)
print(secret_message)

# Human readable
cypher = p.h_encode('My secret message')
print(cypher)

secret_message = p.h_decode(cypher)
print(secret_message)
```

## Logging

```python
import logging

logger = logging.getLogger('multiplexer')
logger.setLevel(logging.INFO)
```