public static byte[] GetHash(byte[] data) { Sha256T sha = new Sha256T(); Hash.Initialize(sha); Hash.Write(sha, data, (UInt32)data.Length); byte[] outputSer = new byte[32]; Hash.Finalize(sha, outputSer); return(outputSer); }
public static byte[] GetHash(byte[] data) { Sha256T hash = new Sha256T(); Hash.Initialize(hash); Hash.Write(hash, data, (uint)data.Length); byte[] out32 = new byte[32]; Hash.Finalize(hash, out32); return(out32); }
public HmacSha256T() { Inner = new Sha256T(); Outer = new Sha256T(); }
public Sha256Manager() { _sha = new Sha256T(); Hash.Initialize(_sha); }
public HmacSha256T() { this.Inner = new Sha256T(); this.Outer = new Sha256T(); }
public Sha256Manager() { this._sha = new Sha256T(); Hash.Initialize(this._sha); }