You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really not a LockBox specialist, but from what I have seen you have to set the KeySize first to ks128, ks192 or ks256. Then you can generate a key with the matching length.
I'm really not a LockBox specialist, but from what I have seen you have to set the KeySize first to ks128, ks192 or ks256. Then you can generate a key with the matching length.
Hello
I found issue with TLbRijndael, the passphrase has no effect, but it works with TLbBlowfish, i would add the following sample
`procedure TForm1.Button1Click(Sender: TObject);
var
ALbRijndael: TLbRijndael;
begin
ALbRijndael := TLbRijndael.Create(nil);
try
ALbRijndael.GenerateKey('aaa');
ALbRijndael.Encoding := TEncoding.UTF8;
Memo2.Text := ALbRijndael.EncryptString(Memo1.Text);
finally
ALbRijndael.Free;
end;
end;
procedure TForm1.Button2Click(Sender: TObject);
var
ALbRijndael: TLbRijndael;
begin
ALbRijndael := TLbRijndael.Create(nil);
try
ALbRijndael.GenerateKey('bbb');
ALbRijndael.Encoding := TEncoding.UTF8;
Memo3.Text := ALbRijndael.DecryptString(Memo2.Text);
finally
ALbRijndael.Free;
end;
end;`
The text was updated successfully, but these errors were encountered: