static CryptoHelpers() { AppDomain.CurrentDomain.ProcessExit += (sender, arg) => { Secp256K1.Dispose(); }; }