Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 56566

keccak is a cryptographic family which is used in ethereum and nowerdays provides the standards for sha-3

1 vote

Generating an address from a public key in C++

Keccak this 64 bytes to 32 bytes: 81862025a6a8b333133c9b9ad09d3103ccabfb769edc3e9b01500ca7241d470a 4. Get last 20 bytes: 0xd09D3103CcABfb769eDc3e9B01500Ca7241D470A …
Saku's user avatar
  • 131
2 votes
1 answer
1k views

Generating an address from a public key in C++

Example: Input key = 0x025f37d20e5b18909361e0ead7ed17c69b417bee70746c9e9c2bcb1394d921d4ae Output address = 0xd09D3103CcABfb769eDc3e9B01500Ca7241D470A I have been using an algorithm from keccak-tiny.c … before keccak I must convert from a 33-byte key to a 65-byte key (address will be compact-independent) or keccak is applied on hex string text form, not bytes? …
Saku's user avatar
  • 131