public override string ToString() { StringBuilder sb = new StringBuilder(130); Bindings.rhash_print(sb, ptr, 0, 0); return(sb.ToString()); }
public string ToRaw(HashType type) { if ((hash_ids & (uint)type) == 0) { throw new ArgumentException("This hasher does not support hash type " + type, "type"); } StringBuilder sb = new StringBuilder(130); Bindings.rhash_print(sb, ptr, (uint)type, RAW); return(sb.ToString()); }
public string ToRaw(HashType type) { if ((hash_ids & (uint)type) == 0) { throw new ArgumentException("This hasher has not computed message digest for id: " + type, "type"); } StringBuilder sb = new StringBuilder(130); Bindings.rhash_print(sb, ptr, (uint)type, RAW); return(sb.ToString()); }