Skip to content

Instantly share code, notes, and snippets.

View DamnDam's full-sized avatar

Damien Thirion DamnDam

View GitHub Profile
@twheys
twheys / tea.py
Last active August 24, 2023 11:57
Python implementation of the Tiny Encryption Algorithm (TEA)
# coding: utf-8
"""
Implementation of the Tiny Encryption Algorithm (TEA) for Python
https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
Example Usage:
import tea
# The key must be 16 characters