Пример #1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder(130);

            Bindings.rhash_print(sb, ptr, 0, 0);
            return(sb.ToString());
        }
Пример #2
0
        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());
        }
Пример #3
0
        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());
        }