Skip to content

diepvuongthang/triple_des

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TripleDes

mode: :des3_ecb, :des3_cbc, :des_ede3
key: iodata, must be a multiple of 64 bits (8 bytes).
ivec: an arbitrary initializing vector, must be a multiple of 64 bits (8 bytes).
data: iodata, must be a multiple of 64 bits (8 bytes).

Examples

TripleDes.encrypt(data, key, mode)
TripleDes.decrypt(data, key, mode)
TripleDes.encrypt(data, key, ivec, mode)
TripleDes.decrypt(data, key, ivec, mode)

Installation

If available in Hex, the package can be installed by adding triple_des to your list of dependencies in mix.exs:

def deps do
  [{:triple_des, "~> 1.0.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/triple_des.

About

TripleDES crypto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages