PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 26 → Encrypt en Decrupt functies
Encrypt en Decrupt functies
Iniciado por Wilfried, out., 16 2023 12:56 AM - 1 resposta
Membro registado
9 mensagems
Publicado em outubro, 16 2023 - 12:56 AM
Na mijn update van WD25 naar WD28 krijg ik de foutmelding:

Warning : 'Encrypt' is kept in this version for backward compatibility.

Welke functie vervangt dit in WD28 en kan ik dus beter gebruiken op een string te encrypten?

Bij voorbaat dank.


Wilfried
Publicado em outubro, 25 2023 - 4:17 PM
Hey Wilfried,

EncryptStandard is de nieuwe functie.

Zie voorbeeld in de help:
bufMessage is Buffer = "Message to encrypt"
bufKey is Buffer = HashString(HA_MD5_128, "string to encrypt")
bufEncrypt is Buffer = EncryptStandard(bufMessage, bufKey, cryptAES128)

Groeten Jan