Criptografar variavel
Como faço para criptografar uma variável ?
Ademilson Moreira
Curtidas 0
Respostas
Rodrigo_rcp
29/07/2003
function EnDecryptString(StrValue : String; Chave: Word) : String; var I: Integer; OutValue : String; begin OutValue := ´´; for I := 1 to Length(StrValue) do OutValue := OutValue + char(Not(ord(StrValue[I])-Chave)); Result := OutValue; end;
Funciona com String.
GOSTEI 0