Ejemplo n.º 1
0
            public Builder(SkeinParameters parameters)
            {
                IEnumerator keys = parameters.parameters.Keys.GetEnumerator();

                while (keys.MoveNext())
                {
                    int key = (int)keys.Current;
                    this.parameters.Add(key, parameters.parameters[key]);
                }
            }
Ejemplo n.º 2
0
		/// <summary>
		/// Optionally initialises the Skein digest with the provided parameters.
		/// </summary>
		/// See <see cref="NBitcoin.BouncyCastle.Crypto.Parameters.SkeinParameters"></see> for details on the parameterisation of the Skein hash function.
		/// <param name="parameters">the parameters to apply to this engine, or <code>null</code> to use no parameters.</param>
		public void Init(SkeinParameters parameters)
		{
			engine.Init(parameters);
		}
Ejemplo n.º 3
0
			public Builder(SkeinParameters parameters)
			{
				IEnumerator keys = parameters.parameters.Keys.GetEnumerator();
				while (keys.MoveNext())
				{
					int key = (int)keys.Current;
					this.parameters.Add(key, parameters.parameters[key]);
				}
			}