Edited appendix-bitcoin-fundamentals-review.asciidoc with Atlas code editor

pull/928/head
kristen@oreilly.com 3 years ago
parent 93d2f73fe4
commit 7d3f1f8ff4

@ -55,7 +55,7 @@ It is impossible to reverse this calculation. Given a public key _K_, one cannot
.The SHA-256 cryptographic hash algorithm
image::images/mtln_aa01.png["The SHA-256 cryptographic hash algorithm"]
[role="pagebreak-before"]
For example, if we use a command-line terminal to feed the text "Mastering the Lightning Network" into the SHA-256 function, it will produce a fingerprint as follows:
----
@ -97,7 +97,7 @@ Uncorrelated:: A small change in the input produces such a big change in the out
Uniform/random:: A cryptographic hash function produces hashes that are uniformly distributed across the entire 256-bit space of possible outputs. The output of a hash appears to be random, though it is not truly random.
Using these features of cryptographic hashes, we can build some interesting applications:
Using these features of cryptographic hashes, we can build some interesting pass:[<span class="keep-together">applications</span>]:
Fingerprints:: A hash can be used to fingerprint a file or message so that it can be uniquely identified. Hashes can be used as universal identifiers of any data set.

Loading…
Cancel
Save