private Sha256Hash CalculateHash() { using (var bos = new MemoryStream()) { WriteHeader(bos); return new Sha256Hash(Utils.ReverseBytes(Utils.DoubleDigest(bos.ToArray()))); } }