commit
89efd84d5e
1
Emakefile
Normal file
1
Emakefile
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"src/*", [debug_info, {i, "include/"}, {outdir, "ebin/"}]}.
|
@ -1,9 +1,11 @@
|
|||||||
Erl-Base58
|
Erl-Base58
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Version: 0.1.0
|
Version: 0.1.1
|
||||||
|
|
||||||
This is a simple implementation of a Base58 encoder and decoder for Integers and Binaries. Base58 is most prevalent in the [Bitcoin](http://bitcoin.org) virtual currency system. The Base58 representation makes use of a representation that is mostly free from ambiguous characters, this makes is easier for a human to verify that the Base58 string is correct.
|
This is a simple implementation of a Base58 encoder and decoder for Integers and Binaries.
|
||||||
|
Base58 is most prevalent in cryptocurrency systems.
|
||||||
|
The Base58 representation makes use of a representation that is mostly free from ambiguous characters, this makes is easier for a human to verify that the Base58 string is correct.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git clone https://github.com/basho/rebar.git rebar-tmp
|
|
||||||
cd rebar-tmp
|
|
||||||
make
|
|
||||||
cp rebar ..
|
|
||||||
cd ..
|
|
||||||
rm -rf rebar-tmp
|
|
@ -1 +0,0 @@
|
|||||||
{plugins, [rebar3_hex]}.
|
|
@ -1,11 +0,0 @@
|
|||||||
{application, base58,
|
|
||||||
[
|
|
||||||
{description, "A simple Erlang module to perform Base58 encoding and decoding"},
|
|
||||||
{vsn, "0.0.1"},
|
|
||||||
{registered, []},
|
|
||||||
{applications, [
|
|
||||||
kernel,
|
|
||||||
stdlib
|
|
||||||
]},
|
|
||||||
{licenses, ["Apache-2.0"]},
|
|
||||||
{links, [{"GitHub", "https://github.com/aeternity/erl-base58"}]}]}.
|
|
@ -7,6 +7,7 @@
|
|||||||
%%
|
%%
|
||||||
%% This module is distributed under an Apache 2.0 Licence
|
%% This module is distributed under an Apache 2.0 Licence
|
||||||
-module(base58).
|
-module(base58).
|
||||||
|
-vsn("0.1.1").
|
||||||
-export([check_base58/1, binary_to_base58/1, integer_to_base58/1, base58_to_integer/1, base58_to_binary/1]).
|
-export([check_base58/1, binary_to_base58/1, integer_to_base58/1, base58_to_integer/1, base58_to_binary/1]).
|
||||||
|
|
||||||
%% @doc This is an internal function that encodes the equivalent base58 number
|
%% @doc This is an internal function that encodes the equivalent base58 number
|
||||||
|
17
zomp.meta
Normal file
17
zomp.meta
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{name,"Erlang Base58"}.
|
||||||
|
{type,lib}.
|
||||||
|
{modules,[]}.
|
||||||
|
{prefix,none}.
|
||||||
|
{author,"David Ellefsen"}.
|
||||||
|
{desc,"A simple implementation of a Base58 encoder and decoder for Integers and Binaries."}.
|
||||||
|
{package_id,{"otpr","erl_base58",{0,1,1}}}.
|
||||||
|
{deps,[]}.
|
||||||
|
{key_name,none}.
|
||||||
|
{a_email,[]}.
|
||||||
|
{c_email,[]}.
|
||||||
|
{copyright,"David Ellefsen"}.
|
||||||
|
{file_exts,[]}.
|
||||||
|
{license,"Apache-2.0"}.
|
||||||
|
{repo_url,"https://git.qpq.swiss/QPQ-AG/erl-base58"}.
|
||||||
|
{tags,["base58"]}.
|
||||||
|
{ws_url,[]}.
|
Loading…
x
Reference in New Issue
Block a user