On Tue, Oct 14, 2008 at 6:47 PM, Stefano Palmeri <[EMAIL PROTECTED]>wrote:
> Il martedì 14 ottobre 2008 17:27:31 Kari Laine ha scritto: > > Hi, > > > > could someone please send a little example how to use gb.crypt's MD5 to > > calculate checksum for a file? > > > > > > Best Regards > > Kari Laine > > > Reading the Gambas help, I don't think this is gb.c goal. > > -------------------------- > gb.crypt > This component allows you to crypt a password and to compare crypted > passwords > by using the DES or MD5 algoritm implemented in the GNU libc library. > -------------------------- > > but I may be wrong. Use SHELL: > > DIM smd5checksum AS String > > SHELL "md5sum " & path_to_file & " | cut -f1 -d ' ' " TO smd5checksum > > Ciao, > > Stefano > Hi Stefano, thanks. Should have looked the docs.... Best Regards Kari Laine ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user