From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:6214:7cd:: with SMTP id bb13mr19102991qvb.241.1582432863150; Sat, 22 Feb 2020 20:41:03 -0800 (PST) X-Received: by 2002:aca:c507:: with SMTP id v7mr8319868oif.157.1582432862803; Sat, 22 Feb 2020 20:41:02 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 22 Feb 2020 20:41:02 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=47.185.239.228; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.239.228 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4f892414-4f60-437c-873c-3a8139a4dbf1@googlegroups.com> Subject: Re: Threefish-256 From: Optikos Injection-Date: Sun, 23 Feb 2020 04:41:03 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58125 Date: 2020-02-22T20:41:02-08:00 List-Id: On Sunday, February 16, 2020 at 10:46:37 AM UTC-6, Jeffrey R. Carter wrote: > I have made an implementation of the Threefish-256 encryption algorithm= =20 > available at https://github.com/jrcarter/Threefish in the hope that some = will=20 > find it useful. While I think it's correct, I cannot be sure, and would= =20 > appreciate additional people inspecting it for errors. >=20 > --=20 > Jeff Carter > "We call your door-opening request a silly thing." > Monty Python & the Holy Grail > 17 I would think that finding more than 2 other languages' implementations of = the same version of the same algorithm would provide a system of voting whi= ch implementations produce identical outputs for identical inputs. If your= implementation conforms to multiple other implementations on various platf= orms/ISAs/endianness, then it is likely correct. If your implementation is= the odd man out with multiple of the others producing identical output tha= t is different than yours, then an opportunity for investigation. C#, .NET CIR, C, Java, and Go implementations: https://www.schneier.com/academic/skein/threefish.html Haskell implementation: https://github.com/valderman/threefish Java implementation in a Java crypto community, including KAT test: https://github.com/bmalkow/java-bc-threefish