PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → CrypteStandard AES128
CrypteStandard AES128
Started by Hacyrak, Jan., 28 2020 10:27 AM - 2 replies
Posted on January, 28 2020 - 10:27 AM
Bonjour,
J'utilise un programme Windev qui crypte une chaîne comme suit :
bufCrypte est un buffer //chaine à crypter
bufCle est un buffer = HashChaîne(HA_MD5_128, ChaîneVersUTF8(SAI_cle))
Encode(CrypteStandard(bufCrypte,bufCle,crypteAES128),encodeBASE64)


J'aimerai maintenant obtenir ce résultat en passant sur un site online de cryptage.
Impossible d'obtenir un cryptage fonctionnel sur un site online de cryptage AES.
Je ne comprend quel option choisir pour obtenir un cryptage correct
Pourquoi ??
Posted on January, 28 2020 - 1:20 PM
Bonjour,
Oui ma clé est en md5.
Lorsque j'utilise le site pour hasher en MD5 j'obtiens un résultat différent que lorsque je trace le HashChaîne(HA_MD5_128, ChaîneVersUTF8(SAI_cle)).

Le HashChaîne(HA_MD5_128, ChaîneVersUTF8(SAI_cle)) renvoi une chaine avec des caractères illisible.
Le site MD5 renvoi une chaine avec des caractères lisibles (de l'hexa ?).