PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → CrypteStandard AES128
CrypteStandard AES128
Iniciado por Hacyrak, jan., 28 2020 10:27 AM - 2 respostas
Publicado em janeiro, 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 ??
Publicado em janeiro, 28 2020 - 11:44 AM
Publicado em janeiro, 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 ?).