PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD 20 + CryptStandaard and UnCryptStandaard
WD 20 + CryptStandaard and UnCryptStandaard
Iniciado por guest, 28,abr. 2015 09:54 - 2 respuestas
Publicado el 28,abril 2015 - 09:54
Hey fellows,

I spend hour and hours but i can not get it right :mad:

Can someone give me a small example how to use in WinDev 20 CryptStandaard
and to UnCryptStandaard this in Windev Mobile ???

TIA !!!!:cheers:
Jan
Publicado el 29,abril 2015 - 07:25
I just use sample code as below and it works for me.

//crypt function for IOS iphone, wm20 and wb19

StringToEncrypt is string = "Try This. It should work"
Password is string = "keyPassword"
EncryptedString is string
DecryptedString is string

EncryptedString =Crypt(StringToEncrypt, Password, cryptAnsi)
info("Encrypted:" + EncryptedString )


// Decrypt the message later
DecryptedString = Uncrypt(EncryptedString, Password, cryptAnsi)
Info("Decrypted: " + DecryptedString)

Haven't tried functions that you'd mentioned.

HTH

Cheers

King
Publicado el 29,abril 2015 - 09:22
Hey King

With Windev Crypt/CryptStandaard en UnCryp/UnCryptStandaard there is no problem

CryptStandaard and UnCryptStandaard are special for multi platform

Using CryptStandaard in Windev and using UnCryptStandaard with the crypted data from Windev that is the problem.


TIA
Jan