There are some obvious ways to speed up that J implementation. I just did not want to take the time to do them. Maybe later.
Thanks, -- Raul On Tue, Feb 25, 2014 at 8:29 PM, Pascal Jasmin <godspiral2...@yahoo.ca> wrote: > That is cool. It works too (md5 in convert does not produce the test > results). Your version is 20x slower but still usable. > > > > > ----- Original Message ----- > From: Raul Miller <rauldmil...@gmail.com> > To: Programming forum <programm...@jsoftware.com> > Cc: > Sent: Tuesday, February 25, 2014 8:01:43 PM > Subject: Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows > implementation of hash functions) > > I haven't used WINE for ages, and never did learn how to debug for it. > Also, I've mostly been using native windows (and my other laptops are > openbsd, though I've not had the time to use them much, lately.). > > I did write an SHA-1 in J though: > http://rosettacode.org/wiki/SHA-1#J > > Yours is probably much faster, and likely to stay that way for some > time since we do not have a J compiler. (I'd really like to define a J > subset front end for gcc). > > Thanks, > > -- > Raul > > > > On Tue, Feb 25, 2014 at 7:50 PM, Pascal Jasmin <godspiral2...@yahoo.ca> wrote: >> I've posted some hash functions sha1 sha2 and md5 that use Microsoft's >> advapi32.dll that comes with windows. Could someone let me know what/if >> changes are needed to work with wine? >> >> http://www.jsoftware.com/jwiki/PascalJasmin/SHA%201%2C%202%20and%20MD5%20for%20windows >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm