43 safeAlgorithmHandle.SetCipherMode(cipherMode);
44 if (feedback > 0 && feedback != 1)
48 safeAlgorithmHandle.SetFeedbackSize(feedback);
55 return safeAlgorithmHandle;
static readonly Lazy< SafeAlgorithmHandle > s_hAlgCfb64
static readonly Lazy< SafeAlgorithmHandle > s_hAlgEcb
static readonly Lazy< SafeAlgorithmHandle > s_hAlgCbc
static Lazy< SafeAlgorithmHandle > Open3DesAlgorithm(string cipherMode, int feedback=0)
static readonly Lazy< SafeAlgorithmHandle > s_hAlgCfb8
static SafeAlgorithmHandle GetSharedHandle(CipherMode cipherMode, int feedback)
static SafeAlgorithmHandle BCryptOpenAlgorithmProvider(string pszAlgId, string pszImplementation, OpenAlgorithmProviderFlags dwFlags)
OpenAlgorithmProviderFlags
static string Cryptography_FeedbackSizeNotSupported