RE: crypto hash on files

2017-02-06 Thread andreas
hi Mike,

Many thanks, that is awesome!
You are awesome! Very cool!

I will use this in my package management tool (yeah I'm still working on that), 
that way I don't have to introduce any dependency to openSSL or a similar lib.
I'm now starting to use my package management tool in my (small) company, for 
managing our internal software.
If it turns out useful I want to improve it further and then open source it, 
though this will not happen any time soon.

Many thanks Mike!

beneroth




- Original Message -
From: Mike Pechkin [mailto:mike.pech...@gmail.com]
To: picolisp@software-lab.de
Sent: Mon, 6 Feb 2017 13:00:24 +0200
Subject: crypto hash on files

hi all,

@beneroth on IRC requested native implementation to hash files on SHA1.
I did SHAKE128 too.

Directory in repo:
https://bitbucket.org/mihailp/tankfeeder/src/220ba71b3f89e21aaea945d4399ad9eafe91764b/crypto/?at=default

Reference via tests: test-sha1sum.l and test-shake128sum.l
Code can return list too.
I general I trust all above.
Comments, patches and optimizations are always welcome.

Mike




crypto hash on files

2017-02-06 Thread Mike Pechkin
hi all,

@beneroth on IRC requested native implementation to hash files on SHA1.
I did SHAKE128 too.

Directory in repo:
https://bitbucket.org/mihailp/tankfeeder/src/220ba71b3f89e21aaea945d4399ad9eafe91764b/crypto/?at=default

Reference via tests: test-sha1sum.l and test-shake128sum.l
Code can return list too.
I general I trust all above.
Comments, patches and optimizations are always welcome.

Mike