8000 GitHub - jeffgrunewald/rotn: An elixir library for shift encoding printable ASCII characters
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jeffgrunewald/rotn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rotn

Description

A library for applying a shift (sometimes referred to as a Caesar) cipher to ASCII characters. All printable characters, as well as the space \s are shifted by the given integer key value.

Rotn.encode("foobar", 7)
{:ok, "mvvihy"}

Includes a decode/2 function for reversing your mess when you want to know what you wrote.

Why?

Why not?

You need to keep your secrets secret. And while we're at it, we might as well twist the knife on those who think a simple alphabetic Rot13 will get you there.

Installation

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

def deps do
  [
    {:rotn, "~> 0.1.0"}
  ]
end

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

About

An elixir library for shift encoding printable ASCII characters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0