From 184c0f9579a64b650cb789e689ae96c9661aede8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Feb 2013 10:17:32 +0100 Subject: basically coping the java version to c (naturally this does not compile) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- pure-java/SHA3.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pure-java/SHA3.java') 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 */ -- cgit v1.2.3-70-g09d2