public static string GetDigitalSignature(out int N, out int E, out long D) { RSAEncryptDecrypt.GenerateKeys(out N, out E, out D); var Hesh = GetHesh(N); return(RSAEncryptDecrypt.Encrypt(E, N, Hesh)); }