SHA/MD5 digest algorithm

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

SHA/MD5 digest algorithm

Post by asymetrix »


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: 4243
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: SHA/MD5 digest algorithm

Post 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}

Post Reply