Update to latest enacl with updated API #37
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
%% This is used just in one place, just to get blake2b_256 hash.
|
%% This is used just in one place, just to get blake2b_256 hash.
|
||||||
{enacl, {git, "https://github.com/aeternity/enacl.git",
|
{enacl, {git, "https://github.com/aeternity/enacl.git",
|
||||||
{ref, "26180f4"}}}
|
{ref, "793ddb5"}}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{plugins, [{rebar_aecuckooprebuilt_dep, {git, "https://github.com/aeternity/rebar3-cuckoo-prebuilt-plugin.git",
|
{plugins, [{rebar_aecuckooprebuilt_dep, {git, "https://github.com/aeternity/rebar3-cuckoo-prebuilt-plugin.git",
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
0},
|
0},
|
||||||
{<<"enacl">>,
|
{<<"enacl">>,
|
||||||
{git,"https://github.com/aeternity/enacl.git",
|
{git,"https://github.com/aeternity/enacl.git",
|
||||||
{ref,"26180f42c0b3a450905d2efd8bc7fd5fd9cece75"}},
|
{ref,"793ddb502f7fe081302e1c42227dca70b09f8e17"}},
|
||||||
0},
|
0},
|
||||||
{<<"hut">>,{pkg,<<"hut">>,<<"1.3.0">>},0}]}.
|
{<<"hut">>,{pkg,<<"hut">>,<<"1.3.0">>},0}]}.
|
||||||
[
|
[
|
||||||
|
@ -14,6 +14,5 @@
|
|||||||
|
|
||||||
-spec hash(hashable()) -> hash().
|
-spec hash(hashable()) -> hash().
|
||||||
hash(Bin) ->
|
hash(Bin) ->
|
||||||
{ok, Hash} = enacl:generichash(?HASH_BYTES_SIZE, Bin),
|
enacl:generichash(?HASH_BYTES_SIZE, Bin).
|
||||||
Hash.
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user