vw deompose ak function
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user