Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proquint

Travis Hex.pm Hex.pm

An elixir package that converts ids to proquints, Identifiers that are Readable, Spellable, and Pronounceable. More info about proquints can be found at: https://arxiv.org/html/0901.4016

Usage

# encode
bin = << 63 :: size(8), 84 :: size(8), 220 :: size(8), 193 :: size(8) >>
assert Proquint.encode(bin) == "gutih-tugad"

# decode
bin = << 63 :: size(8), 84 :: size(8), 220 :: size(8), 193 :: size(8) >>
assert Proquint.decode("gutih-tugad") == bin

Installation

If available in Hex, the package can be installed as:

  1. Add proquint to your list of dependencies in mix.exs:
def deps do
  [{:proquint, "~> 0.1.0"}]
end
  1. Ensure proquint is started before your application:
def application do
  [applications: [:proquint]]
end

About

An elixir package that converts ids to proquints, Identifiers that are Readable, Spellable, and Pronounceable

Resources

Stars

20 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages