[Gambas-user] Usage of openssl.EncryptSalted

Marco Ancillotti gambas at servinfo.it
Wed May 31 16:45:01 CEST 2023


Il 31/05/23 16:38, Benoit Minisini ha scritto:
>
> I told you that 'openssl' command-line tools takes hexadecimal digits 
> as argument. You must convert them to bytes in Gambas. And these bytes 
> are stored in a string, not a byte array.
>

Ok , now I take it.

so if my key is "8aa69be1566a1dff572e102ed7266da674524d78ea8b933a" I 
have to split that string 2 by 2 and convert every couple ( example "8a" 
) to the rappresenting ascii char.

is it right ?

Is there a function to make that ?



More information about the User mailing list