Compare commits
No commits in common. "89efd84d5e0ac1fcca3c55db17eb6cf5864a9962" and "becd654c8bae9f2a78585fafb9f9bce2506df9ca" have entirely different histories.
89efd84d5e
...
becd654c8b
@ -1,11 +1,9 @@
|
|||||||
Erl-Base58
|
Erl-Base58
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Version: 0.1.1
|
Version: 0.1.0
|
||||||
|
|
||||||
This is a simple implementation of a Base58 encoder and decoder for Integers and Binaries.
|
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.
|
||||||
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
|
||||||
-----
|
-----
|
||||||
|
8
makerebar.sh
Executable file
8
makerebar.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git clone https://github.com/basho/rebar.git rebar-tmp
|
||||||
|
cd rebar-tmp
|
||||||
|
make
|
||||||
|
cp rebar ..
|
||||||
|
cd ..
|
||||||
|
rm -rf rebar-tmp
|
1
rebar.config
Normal file
1
rebar.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
{plugins, [rebar3_hex]}.
|
11
src/base58.app.src
Normal file
11
src/base58.app.src
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{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,7 +7,6 @@
|
|||||||
%%
|
%%
|
||||||
%% 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
17
zomp.meta
@ -1,17 +0,0 @@
|
|||||||
{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