Skip to content

SamerMakni/fibocrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages