Beispiel #1
0
 public Row(Bencodex.Types.Dictionary serialized) : base(serialized)
 {
     ItemId = HashDigest <SHA256> .DeriveFrom(serialized.EncodeIntoChunks().SelectMany(b => b).ToArray());
 }
Beispiel #2
0
 public Row(Bencodex.Types.Dictionary serialized) : base(serialized)
 {
     ItemId = Hashcash.Hash(serialized.EncodeIntoChunks().SelectMany(b => b).ToArray());
 }