Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 704 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 704 Bytes

Fibo Crypt

fibo_crypt is a Python package that provides encryption and decryption functionality using the Fibonacci sequence. This was made as a project for MSc class !!Do not expect any good encryption out of this

Installation

You can install fibo_crypt from PyPI using pip:

pip install fibo_crypt

Usage

Here's how to use my package:

import fibo_crypt

# Generate a key
key = fibo_crypt.generate_key()

# Encrypt a string
plaintext = "Hello, World!"
ciphertext = fibo_crypt.encrypt_string(plaintext, key)
print(f"Encrypted text: {ciphertext}")

# Decrypt the ciphertext
decrypted_text = fibo_crypt.decrypt_string(ciphertext, key)
print(f"Decrypted text: {decrypted_text}")