Page 1 of 1

SHA/MD5 digest algorithm

Posted: Sat Jul 23, 2011 9:11 pm
by asymetrix
Hi

I need SHA-256/512 and MD5 calculation functions, I tried using the raw lua code without success, please can some one help with this ?

Can CLI program be made with hollywood ?

I was looking for built in cryptographic functions without success.

I need to make file checksums and check results.

cheers

Re: SHA/MD5 digest algorithm

Posted: Sun Jul 24, 2011 10:48 am
by airsoftsoftwair
Currently, Hollywood doesn't support other checksums than CRC32 so you'd have to implement Md5/SHA on your own. It's possible but it will be rather slow (especially on large files). Just get some example code and adapt it to work with Hollywood.

Making CLI programs with Hollywood is not recommended, but it is possible because you can hide the display using

Code: Select all

@DISPLAY {Hidden = True}