vw deompose ak function

This commit is contained in:
2023-01-23 01:07:26 -07:00
parent cbe6d51eb9
commit aca416218d
2 changed files with 38 additions and 16 deletions
+6 -6
View File
@@ -6,9 +6,9 @@
-compile([export_all, nowarn_export_all]).
-spec encode(SecretKey) -> SeedPhrase
when SecretKey :: <<_:128>>,
SeedPhrase :: [string()].
encode(SecretKey) ->
<<CheckBytes:4/binary, _/binary>> = crypto:hash(sha256, Key).
%-spec encode(SecretKey) -> SeedPhrase
% when SecretKey :: <<_:128>>,
% SeedPhrase :: [string()].
%
%encode(SecretKey) ->
% <<CheckBytes:4/binary, _/binary>> = crypto:hash(sha256, Key).