public SIMDBase(NBitcoin.Altcoins.HashX11.HashSize a_hash_size, int a_block_size) : base((int)a_hash_size, a_block_size) { m_state = new uint[BlockSize / 4]; Initialize(); }
/// <summary> /// /// </summary> /// <param name="a_hash_size">224, 256, 384, 512</param> /// <returns></returns> internal static IHash CreateBlake(NBitcoin.Altcoins.HashX11.HashSize a_hash_size) { switch (a_hash_size) { case NBitcoin.Altcoins.HashX11.HashSize.HashSize224: return(CreateBlake224()); case NBitcoin.Altcoins.HashX11.HashSize.HashSize256: return(CreateBlake256()); case NBitcoin.Altcoins.HashX11.HashSize.HashSize384: return(CreateBlake384()); case NBitcoin.Altcoins.HashX11.HashSize.HashSize512: return(CreateBlake512()); default: throw new ArgumentException(); } }
public Shabal(NBitcoin.Altcoins.HashX11.HashSize a_hash_size) : base((int)a_hash_size, 64) { Initialize(); }
public SIMD512Base(NBitcoin.Altcoins.HashX11.HashSize a_hash_size) : base(a_hash_size, 128) { }
public SIMD256Base(NBitcoin.Altcoins.HashX11.HashSize a_hash_size) : base(a_hash_size, 64) { }
public CubeHash(NBitcoin.Altcoins.HashX11.HashSize a_hash_size) : base((int)a_hash_size, 32) { Initialize(); }
public SkeinBase(NBitcoin.Altcoins.HashX11.HashSize a_hashSize) : base((int)a_hashSize, 64) { Initialize(); }