[Gambas-user] gb.crypt ?

Kari Laine klaine8 at ...626...
Tue Oct 14 17:58:53 CEST 2008


On Tue, Oct 14, 2008 at 6:47 PM, Stefano Palmeri <rospolosco at ...152...>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



More information about the User mailing list