From 0fe024e75c5f9e2b3b15c3e6a2ec2416cf207468 Mon Sep 17 00:00:00 2001 From: Alfonso Bribiesca Date: Mon, 18 Nov 2024 17:02:06 -0600 Subject: [PATCH] Delete Schnorr.java --- .../org/arkecosystem/crypto/utils/Schnorr.java | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/main/java/org/arkecosystem/crypto/utils/Schnorr.java diff --git a/src/main/java/org/arkecosystem/crypto/utils/Schnorr.java b/src/main/java/org/arkecosystem/crypto/utils/Schnorr.java deleted file mode 100644 index 23d13508..00000000 --- a/src/main/java/org/arkecosystem/crypto/utils/Schnorr.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.arkecosystem.crypto; - -public class Schnorr { - - public static byte[] hexStringToByteArray(String s) { - int len = s.length(); - byte[] data = new byte[len / 2]; - for (int i = 0; i < len; i += 2) { - data[i / 2] = - (byte) - ((Character.digit(s.charAt(i), 16) << 4) - + Character.digit(s.charAt(i + 1), 16)); - } - return data; - } -}