Skip to content

bitoli is a Python package for adaptive compression and encryption of data. It offers simple methods to securely encode and decode data using AES encryption in CFB mode and adaptive compression techniques.

License

Notifications You must be signed in to change notification settings

retrotee/bitoli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bitoli bitoli

bitoli is a Python package for adaptive compression and encryption of data. It provides simple methods to securely encode and decode data using AES encryption in CFB mode along with adaptive compression techniques.

Features

  • Adaptive Compression: Utilizes zlib for efficient data compression.
  • AES Encryption: Implements AES encryption in CFB mode for secure data handling.
  • Base85 Encoding: Supports encoding for non-compressed data.
  • Simple API: Easy-to-use methods for encoding and decoding data.

Installation

You can install bitoli using pip:

pip install bitoli

Usage Here’s a simple example of how to use bitoli:

from bitoli import encode, decode

key = "your_password"
data = "This is some data to encrypt and compress."

# Encode data
encoded_data = encode(data, key)
print("Encoded data:", encoded_data)

# Decode data
decoded_data = decode(encoded_data, key)
print("Decoded data:", decoded_data)

API

encode(data, key)
  • Encrypts and compresses the data using the provided key.

decode(data, key)
  • Decompresses and decrypts the data using the provided key.

License

This project is licensed under the MIT License.

About

bitoli is a Python package for adaptive compression and encryption of data. It offers simple methods to securely encode and decode data using AES encryption in CFB mode and adaptive compression techniques.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages