Re: Writing and reading hashes from files ...

"Scott G. Miller" <[email protected]> Mon, 8 Jan 2007 09:24:13 -0600
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
On Mon, Jan 08, 2007 at 09:10:29AM +0100, Roberto Brunelli wrote:
> Dear siscers,
> 
> is it possible to write/read hashes to files in (nearly) the same way as standard scheme 
> expressions?

What kind of hashes?  Message digests?  If so, it should be fairly easy 
to wrap DigestInputStream using the Java Ports API described here:

http://sisc.sourceforge.net/manual/html/ch05.html#JavaPorts

Then you simply read the file through it and obtain the digest using 
S2J.

Scott

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV