md5

Mark Smith mark at maseurope.net
Sun Feb 17 19:33:57 CST 2008


Malte, thanks, but I need to get the md5 of potentially very large  
files on disc. I'm hoping to avoid having to load them into memory in  
order get the digest.


Best,

Mark

On 18 Feb 2008, at 00:18, Malte Brill wrote:

> Hi Mark,
>
> Rev has MD5 build in. However you will need to do some conversion  
> of it, to match the way other languages display MD5 (like PHP)
>
> Here is a snippet:
>
>     local tVar,tDigest
>     put md5digest("Malte") into tVar
>     get binarydecode("H*",tVar,tDigest)
>     put tDigest
>
> Hope that helps,
>
> Malte
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list