- Improve the autodidactic Nix onboarding experience to increase community growth
- Provide a clear learning path from first impression down to source code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this is the main function of test.c of libsecp */ | |
/* you can find my complete code here: https://github.com/siv2r/secp256k1/commit/b3a1437f715dad7478515a55728ecb12aaf4dad1 */ | |
#include "modules/debug/main_impl.h" | |
int main() { | |
unsigned char msg[40] = "Hey, this message is going to be hashed"; | |
unsigned char out[32]; | |
secp256k1_sha256 hash; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(int argc, char** argv){ | |
// argv | |
int i; | |
for(i=0; i<argc; i++) { | |
printf("argv : %s (val), ", argv); | |
printf("argv : %x (addr)\n", argv); | |
printf("*argv: %s (val), ", *argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./bench ecdsa | |
Benchmark , Min(us) , Avg(us) , Max(us) | |
ecdsa_verify , 142.0 , 144.0 , 147.0 | |
ecdsa_sign , 106.0 , 108.0 , 109.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
Benchmark , Min(us) , Avg(us) , Max(us) | |
ecdh , 92.3 , 92.7 , 93.6 | |
``` |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |