Skip to content

Commit

Permalink
Merge pull request #4 from shaih/master
Browse files Browse the repository at this point in the history
typo Ed25519verify -> Ed25519Verify
  • Loading branch information
stechu committed Mar 17, 2020
2 parents 85cb8db + 7c5f9dd commit 2202658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/crypto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Operator Cost Description
:code:`Sha256(e)` `7` `SHA-256` hash function, produces 32 bytes
:code:`Keccak256(e)` `26` `Keccak-256` hash funciton, produces 32 bytes
:code:`Sha512_256(e)` `9` `SHA512-256` hash function, produces 32 bytes
:code:`Ed25519verify(d, s, p)` `1900` `1` if :code:`s` is the signature of :code:`d` signed by :code:`p` (PK), else `0`
:code:`Ed25519Verify(d, s, p)` `1900` `1` if :code:`s` is the signature of :code:`d` signed by :code:`p` (PK), else `0`
=============================== ========= ================================================================================

These cryptographic primitives cover the most used ones in blockchains and cryptocurrencies. For example, Bitcoin uses `SHA-256` for creating Bitcoin addresses;
Expand Down

0 comments on commit 2202658

Please sign in to comment.