Skip to content

Commit

Permalink
Fix hash preimage number representation to proper hex
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Feb 1, 2023
1 parent be0655f commit 1bc2866
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,22 +232,22 @@ <h4>Translation table</h4>
<tr>
<td>len(x) = 32 and SHA256(x) = h</td>
<td><code>sha256(h)</code></td>
<td><samp>SIZE &lt;32&gt; EQUALVERIFY SHA256 &lt;h&gt; EQUAL</samp></td>
<td><samp>SIZE &lt;20&gt; EQUALVERIFY SHA256 &lt;h&gt; EQUAL</samp></td>
</tr>
<tr>
<td>len(x) = 32 and HASH256(x) = h</td>
<td><code>hash256(h)</code></td>
<td><samp>SIZE &lt;32&gt; EQUALVERIFY HASH256 &lt;h&gt; EQUAL</samp></td>
<td><samp>SIZE &lt;20&gt; EQUALVERIFY HASH256 &lt;h&gt; EQUAL</samp></td>
</tr>
<tr>
<td>len(x) = 32 and RIPEMD160(x) = h</td>
<td><code>ripemd160(h)</code></td>
<td><samp>SIZE &lt;32&gt; EQUALVERIFY RIPEMD160 &lt;h&gt; EQUAL</samp></td>
<td><samp>SIZE &lt;20&gt; EQUALVERIFY RIPEMD160 &lt;h&gt; EQUAL</samp></td>
</tr>
<tr>
<td>len(x) = 32 and HASH160(x) = h</td>
<td><code>hash160(h)</code></td>
<td><samp>SIZE &lt;32&gt; EQUALVERIFY HASH160 &lt;h&gt; EQUAL</samp></td>
<td><samp>SIZE &lt;20&gt; EQUALVERIFY HASH160 &lt;h&gt; EQUAL</samp></td>
<tr>
<td>(<em>X</em> and <em>Y</em>) or <em>Z</em></td>
<td><code>andor(<em>X</em>,<em>Y</em>,<em>Z</em>)</code></td>
Expand Down

0 comments on commit 1bc2866

Please sign in to comment.