Metadata-Version: 2.4
Name: einar
Version: 1.0.0
Summary: Python3 password manager library.
Author-email: Juan Bindez <juanbindez780@gmail.com>
License: GPLv2 license
Project-URL: Homepage, https://github.com/juanbindez/einar
Project-URL: Bug Reports, https://github.com/juanbindez/einar/issues
Project-URL: Read the Docs, http://einar.readthedocs.io/
Keywords: password,manager,tools,cli,pass
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python
Classifier: Topic :: Internet
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Terminals
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Einar

![PyPI - Downloads](https://img.shields.io/pypi/dm/einar)
![PyPI - License](https://img.shields.io/pypi/l/einar)
![GitHub Tag](https://img.shields.io/github/v/tag/JuanBindez/einar?include_prereleases)
<a href="https://pypi.org/project/pytubefix/"><img src="https://img.shields.io/pypi/v/einar" /></a>

## Python3 library that implements AES-128-ECB encryption.


### Install
    pip install einar

### Quickstart

```python
from einar import AES


key = b'' # The key must be exactly 16 bytes (128 bits)

cipher = AES(key)

message = b'Secret message to encrypt'

```

### Encrypt

```python
ciphertext = cipher.encrypt_ecb(message)
print(f"Ciphertext (bytes): {ciphertext}")

```

### Decrypt

```python
original_text = cipher.decrypt_ecb(ciphertext)
print(f"Original text: {original_text.decode('utf-8')}")

```
