public static A CreateGenerator <A>(IGenerationServiceType <A> type) { return(ThreadSecurityContext.CreateGenerator(type, CryptoServicesRegistrar.GetSecureRandom())); }
public static A CreateGenerator <A>(IGenerationServiceType <A> type, SecureRandom random) { return(ThreadSecurityContext.CreateGenerator(type, random)); }
internal A CreateGenerator <A>(IGenerationServiceType <A> type, SecureRandom random) { CryptoStatus.IsReady(); return((type as IGenerationService <A>).GetFunc(this).Invoke(type as IParameters <Algorithm>, random)); }