Skip to content

keichan34/elixir_tea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEA

Build Status

A TEA (Tiny Encryption Algorithm) implemented in pure Elixir.

Usage

Encryption

text = <<0 :: unsigned-64>>
key  = <<0 :: unsigned-128>>
TEA.encrypt text, key
=> <<65, 234, 58, 10, 148, 186, 169, 64>>

Decryption

ciphertext = <<65, 234, 58, 10, 148, 186, 169, 64>>
key        = <<0 :: unsigned-128>>
TEA.decrypt ciphertext, key
=> <<0, 0, 0, 0, 0, 0, 0, 0>>

About

TEA implementation in Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages