SHA/MD5 digest algorithm

Discuss any general programming issues here
Post Reply
Posts: 2
Joined: Tue Feb 22, 2011 8:14 pm

SHA/MD5 digest algorithm

Post by asymetrix » Sat Jul 23, 2011 9:11 pm


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.


User avatar
Posts: 3281
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: SHA/MD5 digest algorithm

Post by airsoftsoftwair » Sun Jul 24, 2011 10:48 am

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}

Post Reply