Peter Prymmer <[EMAIL PROTECTED]> wrote in ? on
Thu, 2 Nov 2000 11:32:24 -0800 (PST):

> On Thu, 2 Nov 2000, Charles Lane wrote:
> 
> > You look in the symbol CHECKSUM$CHECKSUM.  AFAIK, checksum has been
> > part of VMS since 'way 'way back.  But the problem is that we'd have
> > to generate it on a Unix system...maybe if we could come up with a
> > Perl module that duplicates checksum's functionality, but IIRC checksum
> > is just using the old VAX "CRC" instruction (or emulated equivalent). But
> > I think we have a way out, see below.
> > 
> > CHECKSUM/IMAGE when applied to an EXE gives a nice section-by-section
> > checksum output, BTW
> 
> It might be nice to have such a checksummer available to unix perl,
> just as a few months ago someone heeded a unix passwd hasher on VMS.

There is a cksum version in Perl written for the Perl Power Tools project
by Theo Van Dinter. It is based on the OpenBSD version of cksum, and
will do either CRC32, BSD Historic 1, or SYSV Historic 2 algorithms.

Ed James                           [EMAIL PROTECTED]
TeleCommunications Systems, Inc.   voice 410-295-1919
2024 West Street, Suite 300              800-810-0827 x1919
Annapolis, MD 21401-3556           fax   410-280-1094

Reply via email to