Crypto.CryptoManager.ConfigureCryptoInCode C# (CSharp) Méthode

ConfigureCryptoInCode() private méthode

Loads the crypto properties from hard-coded values. At this time, utilizing an encrypted app.config is not in the specifications.
private ConfigureCryptoInCode ( ) : void
Résultat void
        void ConfigureCryptoInCode()
        {
            m_cryptoSalt = KeySize == CryptoLevel.AES256 ? "deadbeefdeadbeefdeadbeefdeadbeef" : KeySize == CryptoLevel.AES128 ? "deadbeefdeadbeef" : String.Empty;
            m_cryptoHash = "SHA1";
            m_cryptoIterations = 5;
            m_validNonceChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".ToArray();
            m_nonceLength = 8;
            m_nonce = Convert.FromBase64String("AQIDBAUFBAM=");
        }