Skip to content

Commit 31446e7

Browse files
denis-bogdanasehildenb
authored andcommitted
krypto.md: Description of input format. (#424)
* krypto.md: Description of input format. * krypto: formatting
1 parent a47e4b2 commit 31446e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

krypto.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ module KRYPTO
1616
- `ECDSARecover` takes a 32-character byte string of a message, v, r, s of the signed message and returns the 64-character public key used to sign the message.
1717
See [this StackOverflow post](https://ethereum.stackexchange.com/questions/15766/what-does-v-r-s-in-eth-gettransactionbyhash-mean) for some information about v, r, and s.
1818

19+
In all functions above, input `String` is interpreted as byte array, e.g. it is NOT hex-encoded.
20+
1921
```k
2022
syntax String ::= Keccak256 ( String ) [function, hook(KRYPTO.keccak256)]
2123
| ECDSARecover ( String , Int , String , String ) [function, hook(KRYPTO.ecdsaRecover)]

0 commit comments

Comments
 (0)