aboutsummaryrefslogtreecommitdiff
path: root/lib/wallet/cryptoLib.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wallet/cryptoLib.ts')
-rw-r--r--lib/wallet/cryptoLib.ts8
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();