2 // Mono.Math.Prime.ConfidenceFactor.cs - Confidence factor for prime generation
7 // Copyright (c) 2003 Ben Maurer. All rights reserved
12 namespace Mono.Math.Prime {
14 /// A factor of confidence.
21 enum ConfidenceFactor {
23 /// Only suitable for development use, probability of failure may be greater than 1/2^20.
27 /// Suitable only for transactions which do not require forward secrecy. Probability of failure about 1/2^40
31 /// Designed for production use. Probability of failure about 1/2^80.
35 /// Suitable for sensitive data. Probability of failure about 1/2^160.
39 /// Use only if you have lots of time! Probability of failure about 1/2^320.
43 /// Only use methods which generate provable primes. Not yet implemented.