Exemple #1
0
        public static HalfSha512 Prefixed256(HashPrefix bytes)
        {
            var halfSha512 = new HalfSha512();

            halfSha512.Update(bytes);
            return(halfSha512);
        }
Exemple #2
0
 internal static byte[] Bytes(this HashPrefix hp)
 {
     return(Bits.GetBytes((uint)hp));
 }