private Address ComputeAddress() { Span <byte> hash = ValueKeccak.Compute(Bytes).BytesAsSpan; return(new Address(hash.Slice(12).ToArray())); }
public static Address ComputeAddress(Span <byte> publicKeyBytes) { Span <byte> hash = ValueKeccak.Compute(publicKeyBytes).BytesAsSpan; return(new Address(hash.Slice(12).ToArray())); }