RSALib.pas 513 B

123456789101112131415
  1. unit RSALib;
  2. interface
  3. procedure GetDNE(var KeyD: PChar; KeyDMaxCount: Integer;
  4. var KeyN: PChar; KeyNMaxCount: Integer;
  5. var KeyE: PChar; KeyEMaxCount: Integer); stdcall external 'RSA.dll';
  6. function RealICQRSAEncrypt(P: PChar; KeyE, KeyN: PChar): PChar; stdcall external 'RSA.dll';
  7. function RealICQRSADecrypt(E: PChar; KeyD, KeyN: PChar): PChar; stdcall external 'RSA.dll';
  8. procedure DeleteStrPointer(ARetValue: PChar); stdcall external 'RSA.dll';
  9. implementation
  10. end.