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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,30b1e2462d371530 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!postnews.google.com!l8g2000yql.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: GNAT.md5 example? Date: Sun, 17 Oct 2010 23:24:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0418706a-ec41-452a-991e-bd97163376ac@l8g2000yql.googlegroups.com> References: NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1287383083 6569 127.0.0.1 (18 Oct 2010 06:24:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 18 Oct 2010 06:24:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l8g2000yql.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:15570 Date: 2010-10-17T23:24:43-07:00 List-Id: I do not know the GNAT implementation, but see at http://www.christ-usch-grein.homepage.t-online.de/Ada/MD5.html You find there a file MD5.txt with the original RSA text. This implementation produces the result required at the end of that paper. In the package MD5.Driver, you find "procedure Digest_File (Filename: in String);". Just call it and it will print out the MD5 result. I guess the GNAT imp. will work very much the same.