Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can rawbytestring cleared from memory ?
#4
i have tried mostly all way to make it zero memory but i can see the plain text in memory

here is my code

Code:
var
password: ISecureString;
rawstring : rawbytestring;
begin
password:= NewSecureString('sometext');
rawstring :=UTF8Encode((password.Data);

if rawstring <> '' then
begin
FillChar(PAnsiChar(rawstring)^, Length(rawstring), 0);
end;

end;
Reply


Messages In This Thread
RE: can rawbytestring cleared from memory ? - by Madammar - 09-22-2018, 04:39 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)