AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones Hash
  • Converting a hash in binary format into the hexadecimal format
  • Converting a hash in hexadecimal format into the binary format
HashFile (Example)
Converting a hash in binary format into the hexadecimal format
sHash_Binary is string = HashString(HA_SHA3_256, "C:\My files\FileA.txt")
sHash_Hex is string = BufferToHexa(sHash_Binary, NoGrouping)
Trace(sHash_Hex)
Converting a hash in hexadecimal format into the binary format
sHash_Hex is string = "918d40029ce4fc9702a62fdee8977b66b38b9ccf"
sHash_Binary is string = HexaToBuffer(sHash_Hex, NoGrouping)
IF HashCheckFile(HA_SHA_256, "C:\Temp\File.txt", sHash_Binary) = True THEN
Info("Hash OK")
END
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/09/2023

Señalar un error o enviar una sugerencia | Ayuda local