static Crypter()
        {
            Blowfish       = new BlowfishCrypter();
            TraditionalDes = new TraditionalDesCrypter();
            ExtendedDes    = new ExtendedDesCrypter();
            Ldap           = new LdapCrypter(CrypterEnvironment.Default);
            MD5            = new MD5Crypter();
            Phpass         = new PhpassCrypter();
            Sha256         = new Sha256Crypter();
            Sha512         = new Sha512Crypter();

            IList <Crypter> crypters = CrypterEnvironment.Default.Crypters;

            crypters.Add(Crypter.Blowfish);
            crypters.Add(Crypter.MD5);
            crypters.Add(Crypter.Phpass);
            crypters.Add(Crypter.Sha256);
            crypters.Add(Crypter.Sha512);
            crypters.Add(Crypter.Ldap);
            crypters.Add(Crypter.ExtendedDes);
            crypters.Add(Crypter.TraditionalDes);
        }
示例#2
0
 static Crypter()
 {
     Blowfish = new BlowfishCrypter();
 }
示例#3
0
 static Crypter()
 {
     Blowfish = new BlowfishCrypter();
 }