RossMeikleham / Elixir-Crypto

Cryptographic Algorithms Implemented In Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elixir Crypto

Cryptographic Algorithms implemented in Elixir

note* Don't use any of these implementations for any important data you want to encrypt.

Build Status

Algorithms Implemented

CAST-128

Implements CAST-128 algorithm defined in RFC2144 with PKCS5 padding.

Example

ie> c("cast-128.ex")
ie> c = Crypto.Cast128.encryptHex("hello world", 'password') 
"5EC39CC2BDC28EC3AAC3BFC3AEC2892FC3B3C388C29C544B2AC29D"
ie> Crypto.Cast128.decryptHex(c, 'password')
"hello world"

About

Cryptographic Algorithms Implemented In Elixir

License:MIT License


Languages

Language:Elixir 100.0%