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.
16
internal enum ConfidenceFactor {
18
/// Only suitable for development use, probability of failure may be greater than 1/2^20.
22
/// Suitable only for transactions which do not require forward secrecy. Probability of failure about 1/2^40
26
/// Designed for production use. Probability of failure about 1/2^80.
30
/// Suitable for sensitive data. Probability of failure about 1/2^160.
34
/// Use only if you have lots of time! Probability of failure about 1/2^320.
38
/// Only use methods which generate provable primes. Not yet implemented.