Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #4015 > unrolled thread

65816 crypto/hash libraries and checksum programs

Started byStephen Heumann <stephen.heumann@gmail.com>
First post2017-11-25 22:12 -0600
Last post2017-11-27 15:41 -0800
Articles 4 — 4 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  65816 crypto/hash libraries and checksum programs Stephen Heumann <stephen.heumann@gmail.com> - 2017-11-25 22:12 -0600
    65816 crypto/hash libraries and checksum programs Antoine Vignau <antoine.vignau@laposte.net> - 2017-11-26 21:58 -0800
      Re: 65816 crypto/hash libraries and checksum programs stephenheumann@gmail.com - 2017-11-27 15:26 -0800
    65816 crypto/hash libraries and checksum programs Anthony Ortiz <anthonypaulo@gmail.com> - 2017-11-27 15:41 -0800

#4015 — 65816 crypto/hash libraries and checksum programs

FromStephen Heumann <stephen.heumann@gmail.com>
Date2017-11-25 22:12 -0600
Subject65816 crypto/hash libraries and checksum programs
Message-ID<ovdevh$h0q$1@dont-email.me>
A while ago, I wrote implementations of several crypto algorithms for 
the 65816. These include AES encryption and decryption, plus the MD5, 
SHA-1, and SHA-256 hash algorithms. The core algorithms for each of 
these are written in carefully optimized assembly code, and they're 
easily the fastest implementations of any of these algorithms that I'm 
aware of on the IIgs.

I've now packaged these up as libraries that can easily be used from 
ORCA/C or ORCA/M, and also (with suitable glue code) from other 
languages on the IIgs. I hope they may be useful for anyone who wants 
implement tools supporting the many network protocols and file formats 
that use these algorithms.

The code and documentation are available on GitHub here:

https://github.com/sheumann/65816-crypto

The download with the ready-to-use libraries is on the releases page:

https://github.com/sheumann/65816-crypto/releases

The download package also includes implementations of the md5sum, 
sha1sum, and sha256sum file-checksumming utilities built using my 
library. These can be run under the ORCA shell or GNO. They can be 
useful for verifying the integrity of files as you move them around 
(including between the IIgs and modern systems).

-- 
Stephen Heumann

[toc] | [next] | [standalone]


#4018

FromAntoine Vignau <antoine.vignau@laposte.net>
Date2017-11-26 21:58 -0800
Message-ID<e3b33642-5fe0-40c4-aea9-2bc6e7fc25bf@googlegroups.com>
In reply to#4015
Thank you.
Any chance to have disk images instead of shk?
av

[toc] | [prev] | [next] | [standalone]


#4019

Fromstephenheumann@gmail.com
Date2017-11-27 15:26 -0800
Message-ID<9b4ad813-0171-4ff1-9603-85b82da55aa6@googlegroups.com>
In reply to#4018
On Sunday, November 26, 2017 at 11:58:25 PM UTC-6, Antoine Vignau wrote:
> Thank you.
> Any chance to have disk images instead of shk?

OK, I added a disk image on the releases page (with the same contents as the shk file).

-- 
Stephen Heumann

[toc] | [prev] | [next] | [standalone]


#4020

FromAnthony Ortiz <anthonypaulo@gmail.com>
Date2017-11-27 15:41 -0800
Message-ID<e3f22964-655b-4acb-961f-9d7ee923606b@googlegroups.com>
In reply to#4015
This is pretty impressive Stephen! 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web