aboutsummaryrefslogtreecommitdiffstats
path: root/pure-java/SHA3.java
diff options
context:
space:
mode:
Diffstat (limited to 'pure-java/SHA3.java')
-rw-r--r--pure-java/SHA3.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/pure-java/SHA3.java b/pure-java/SHA3.java
index 5b4796e..700e469 100644
--- a/pure-java/SHA3.java
+++ b/pure-java/SHA3.java
@@ -25,14 +25,6 @@
*/
public class SHA3
{
- private static String hex(long x)
- {
- String a = "00000000" + Long.toString((x >>> 32) & ((1L << 32) - 1), 16);
- String b = "00000000" + Long.toString(x & ((1L << 32) - 1), 16);
- a = a.substring(a.length() - 8);
- b = b.substring(b.length() - 8);
- return a + b;
- }
/**
* Round contants
*/