Name
Package jxta.security.hash
Synopsis
This package defines the classes necessary to create a hash (also called a message digest). Hashes are a series of short bytes that are obtained from an arbitrary set of data; the chances of two sets of data producing the same hash are very small (approximately 1 in 264). Hence, calculating the data’s hash at two points in time is a good way of determining whether the data has changed. However, hashes are not secure; if you transmit the data and its hash, nothing prevents an intruder from modifying both the data and the hash while they are in transit. The class hierarchy for this package is shown in Figure 10-4.

Figure 10-4. The jxta.security.hash package
Interfaces
public interface
Hash extends jxta.security.util.Description; |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access