diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-13 21:51:45 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-13 21:51:45 +0100 |
commit | 9657e01be14fa5baa4067da65aff94faf6c973e0 (patch) | |
tree | b0c6a7de566845dfcbf946363e774120e87f9795 /lib/wallet/cryptoLib.ts | |
parent | 5b18d6bd19a6af26821dfa14b8eb127f39318b6e (diff) |
remove unused function
Diffstat (limited to 'lib/wallet/cryptoLib.ts')
-rw-r--r-- | lib/wallet/cryptoLib.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/wallet/cryptoLib.ts b/lib/wallet/cryptoLib.ts index d7d1905f9..6cb5b79d1 100644 --- a/lib/wallet/cryptoLib.ts +++ b/lib/wallet/cryptoLib.ts @@ -152,14 +152,6 @@ namespace RpcFunctions { } - export function hashRsaPub(rsaPub: string): string { - return native.RsaPublicKey.fromCrock(rsaPub) - .encode() - .hash() - .toCrock(); - } - - export function createEddsaKeypair(): {priv: string, pub: string} { const priv = native.EddsaPrivateKey.create(); const pub = priv.getPublicKey(); |