@@ -0,0 +1,591 @@
+package toolbox;%0A%0Aimport java.security.*;%0A// https://gist.github.com/avilches/750151%0A%0Apublic class Sha%0A%7B%0A    public static String hash256(String data) throws NoSuchAlgorithmException%0A    %7B%0A        MessageDigest md = MessageDigest.getInstance(%22SHA-256%22);%0A        md.update(data.getBytes());%0A        return bytesToHex(md.digest());%0A    %7D%0A    %0A    public static String bytesToHex(byte%5B%5D bytes)%0A    %7B%0A        StringBuffer result = new StringBuffer();%0A        for (byte byt : bytes) result.append(Integer.toString((byt & 0xff) + 0x100, 16).substring(1));%0A        return result.toString();%0A    %7D%0A%7D

Add new Sha class for processing SHA-256 sums