Skip to content

Instantly share code, notes, and snippets.

View badmonkey7's full-sized avatar
๐ŸŸ
moyu

badmonkey badmonkey7

๐ŸŸ
moyu
View GitHub Profile
@badmonkey7
badmonkey7 / tea.py
Created August 22, 2021 13:50 — forked from twheys/tea.py
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
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">
<editor>
<colour_sets>
<ACTIVE_COLOUR_SET>
<str>
<![CDATA[modnokai night shift v2]]>
</str>
</ACTIVE_COLOUR_SET>
<ACTIVE_LANG>