Menu

Keccak support?

2013-05-01
2021-09-04
  • specialsymbol

    specialsymbol - 2013-05-01

    Hi! I really like your program.
    I got two questions though:

    Will there be support for Keccak (SHA-3) coming? As far as I understand (yet I don't understand a lot of it) the source code is free:
    http://keccak.noekeon.org/files.html

    Second question: Will there be support for 64bit Java, or are there no performance improvements to expect? Last time I tried is some time ago, but it seemed to only run under 32bit Java.
    To say the truth I haven't found anything that runs under Java 64 bit, so I haven't installed it anymore.

     
  • Johann N. Löfflmann

    thank you for using Jacksum and thanks for your requests.

    answer 1)
    Yes, Jacksum 2.0.0 will support Keccak (SHA-3) 224 bits, 256 bits, 384 bits and 512 bits.

    answer 2)
    There is already support for 64 bit. Starting with Jacksum version 1.0.0 Jacksum can run under a 64 bit JVM. You just have to install a 64 bit Java Runtime Environment and you can run Jacksum (or any other program written entirely in Java) using 64 bit. Example output:

    $ ./java -showversion -jar jacksum.jar -v
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

    Jacksum 1.7.0

    Note the "64-Bit Server VM" string in the output above.
    Well, the benefit for a 64 bit JRE is mainly to address more than 4 GB memory, but actually you won't get better performance for software if you just run it on 64 bit. That is not specific to Jacksum, it applies to almost all software. Well, 64 bit computers are more modern than 32 bit hardware and those 64 bit computers usually have faster CPU(s), other faster hardware/software components and also much more memory than 32 bit computers, but that is a completely different story - it has nothing to do with the question 32 vs. 64 bit. In other words, usually 64 bit alone won't give you a performance improvement. Sometimes it can push the performance if software benefit from a larger process space. However, Jacksum's memory requirement is relatively low. So if you compare the performance of Jacksum running on 32 bit and running on 64 bit on the same hardware/OS (preasumed the hardware/OS supports both 32 bit and 64 bit), you won't see better performance. Nonetheless, if everything is 64 bit on your computer, why not installing the 64 bit JRE as well ? Jacksum can run with it.

    BTW, Jacksum 2.0.0 will come with some performance improvements for both 32 bit and 64 bit. For example, Jacksum 2.0.0 can use more CPUs/cores if available and if multiple algorithms have been selected so that the computation can happen in parallel and it can finish tasks earlier on particular hardware.

    Thanks,
    Johann

     
  • Johann N. Löfflmann

    Jacksum 3 supports Keccak with the bit width of 224, 256, 288, 384, and 512 , and of course all algos from the SHA-3 family, including SHAKE.

    Jacksum 3 is now on github. See also https://github.com/jonelo/jacksum

     

Log in to post a comment.