public Hasher Update(byte[] buf) { Bindings.rhash_update(ptr, buf, buf.Length); return(this); }
public void Reset() { Bindings.rhash_reset(ptr); }
public Hasher(HashType hashtype) { this.hash_ids = (uint)hashtype; this.ptr = Bindings.rhash_init(hash_ids); }
public void Finish() { Bindings.rhash_final(ptr, IntPtr.Zero); }