[Gambas-user] Cipher

Antonio Teixeira antonio.j.teixeira at gmail.com
Wed May 27 18:08:28 CEST 2020


Hi everyone,

I am trying  to use ciper with "AES-128-XTS" method but I am always getting
an error.

 hCipherText = Cipher[sAlgorithmus].Encrypt(sPlain, sKey, sInitVector)

In my case sPlain is a string with numbers, skey is an uuid
("cbfcc1173b5a4b83ae9a355079aae54c") and no mater the size of sInitVector I
always get the error : InitVector length does not match method of FMain in
line....

Any help please?

Thanks in advance.

Regards

António Teixeira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200527/7c0417e7/attachment.html>


More information about the User mailing list