예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LdapCrypter"/> class.
        /// The specified environment is searched for the {CRYPT} password scheme.
        /// </summary>
        /// <param name="cryptSchemeEnvironment">The environment for the {CRYPT} passwod scheme.</param>
        public LdapCrypter(CrypterEnvironment cryptSchemeEnvironment)
        {
            Check.Null("environment", cryptSchemeEnvironment);

            _environment = cryptSchemeEnvironment;
        }
 static CrypterEnvironment()
 {
     Default = new CrypterEnvironment();
 }