o_random is not disposed in ElGamalEncryptor class
bazzilic opened this issue · 1 comments
bazzilic commented
o_random
in ElGamalEncryptor
is IDisposable
and therefore should be disposed. I suggest adding Dispose
method to ElGamalEncryptor
and making it IDisposable
, and do a using (...) {...}
in ElGamalManaged.EncryptData
(and everywhere else ElGamalEncryptor
is used too, if any).
@cheeyixu please fix!