commit 864c42ed8cd593175a65ad5900ec46fbb24e1b35 Author: Hans Svensson Date: Thu Jan 13 15:30:16 2022 +0100 Skeleton project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f1c4554 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +.rebar3 +_* +.eunit +*.o +*.beam +*.plt +*.swp +*.swo +.erlang.cookie +ebin +log +erl_crash.dump +.rebar +logs +_build +.idea +*.iml +rebar3.crashdump +*~ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fcf003b --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright 2022 Hans Svensson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..58fbb2a --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +ec_utils +===== + +A library containing various crypto utility functions. Mainly related to +elliptic curves, hence the name `ec_utils`. + +Build +----- + + $ rebar3 compile diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..f618f3e --- /dev/null +++ b/rebar.config @@ -0,0 +1,2 @@ +{erl_opts, [debug_info]}. +{deps, []}. \ No newline at end of file diff --git a/src/ec_utils.app.src b/src/ec_utils.app.src new file mode 100644 index 0000000..8ff7526 --- /dev/null +++ b/src/ec_utils.app.src @@ -0,0 +1,10 @@ +{application, ec_utils, + [{description, "A collection of elliptic curve utility functions"}, + {vsn, "0.1.0"}, + {registered, []}, + {applications, [kernel, stdlib]}, + {env,[]}, + {modules, []}, + {licenses, ["MIT"]}, + {links, []} + ]}. diff --git a/src/ec_utils.erl b/src/ec_utils.erl new file mode 100644 index 0000000..997ed10 --- /dev/null +++ b/src/ec_utils.erl @@ -0,0 +1,3 @@ +-module(ec_utils). + +-export([]).