Org.BouncyCastle.Crypto.PbeParametersGenerator.Init C# (CSharp) Méthode

Init() public méthode

public Init ( byte password, byte salt, int iterationCount ) : void
password byte
salt byte
iterationCount int
Résultat void
        public virtual void Init(
            byte[]  password,
            byte[]  salt,
            int     iterationCount)
        {
            if (password == null)
                throw new ArgumentNullException("password");
            if (salt == null)
                throw new ArgumentNullException("salt");

            this.mPassword = Arrays.Clone(password);
            this.mSalt = Arrays.Clone(salt);
            this.mIterationCount = iterationCount;
        }