byte[] stdHash = whirlpool2.getByteArray();
whirlpool2 = JacksumAPI.getChecksumInstance("whirlpool2");
whirlpool2.setEncoding("BASE64");
whirlpool2.update(Config.DOUBLE_WHIRPOOL_SALT.getBytes("UTF-8"));
whirlpool2.update(stdHash);
String pt1 = whirlpool2.format("#CHECKSUM");
whirlpool2 = JacksumAPI.getChecksumInstance("whirlpool2");
whirlpool2.setEncoding("BASE64");
whirlpool2.update(stdHash);
whirlpool2.update((Config.DOUBLE_WHIRPOOL_SALT + pt1).getBytes("UTF-8"));
String pt2 = whirlpool2.format("#CHECKSUM");