Compare commits

..

No commits in common. "89efd84d5e0ac1fcca3c55db17eb6cf5864a9962" and "becd654c8bae9f2a78585fafb9f9bce2506df9ca" have entirely different histories.

9 changed files with 22 additions and 23 deletions

View File

@ -1 +0,0 @@
{"src/*", [debug_info, {i, "include/"}, {outdir, "ebin/"}]}.

0
Makefile Normal file
View File

View File

@ -1,11 +1,9 @@
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.
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.
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.
Usage
-----

8
makerebar.sh Executable file
View 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

BIN
rebar vendored Executable file

Binary file not shown.

1
rebar.config Normal file
View File

@ -0,0 +1 @@
{plugins, [rebar3_hex]}.

11
src/base58.app.src Normal file
View 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"}]}]}.

View File

@ -7,7 +7,6 @@
%%
%% This module is distributed under an Apache 2.0 Licence
-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]).
%% @doc This is an internal function that encodes the equivalent base58 number

View File

@ -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,[]}.