Skip to content

Flow documentation · legacy product

MD5Convert ​

Declaration ​

Function MD5Convert( aHash : string; aTo : See TFloMD5HashType) : string

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := MD5Convert('uzb+qsRteqq0GBOLV4/X4A==', fhtHex); //value will be 'bb36feaac46d7aaab418138b578fd7e0'
end;

Description ​

Converts a MD5 Hash from one format to another. aTo parameter represents the format for the output. The input hash should always be of the opposite type