Hacker GitHub

← All repos

LoupVaillant/Monocypher

View on GitHub ↗ ★ 797 C

An easy to use, easy to deploy crypto library

12 mentions on Hacker News by 7 people: 1 story, 11 comments · first 2017-07-22 · latest 2022-04-20

Mentions per year 12 mentions · busiest year 2017 (7)
20082026
  1. …zero and MAX? I guess that would work. Also, would you consider the following to be fuzz testing? https://github.com/LoupVaillant/Monocypher/blob/master/tests...
    comment by loup-vaillant · 2022-04-20 · in Psychic Signatures in Java
  2. …[2] https://github.com/BLAKE3-team/BLAKE3/blob/master/LICENSE [3] https://github.com/LoupVaillant/Monocypher/blob/master/LICEN...
    comment by beefhash · 2020-07-13 · in On Open Source, licenses and changes
  3. …It makes very tasteful use of comments, functions and macros to maximize readability and clarity. https://github.com/LoupVaillant/Monocypher
  4. …That test suite is top notch at catching bugs, but it sucks big time at documenting Monocypher. https://github.com/LoupVaillant/Monocypher/blob/master/tests...
    comment by loup-vaillant · 2018-05-20 · in Libui: a portable GUI library for C
  5. Here's a real world example: https://github.com/LoupVaillant/Monocypher/commit/d7bb73f65a... So I have this function, `crypto_wipe()` that wipes memory regions with `volatile` so the compiler doesn't optimises it away. In the link above I…
    comment by loup-vaillant · 2018-04-29 · in Competitive Programmer's Handbook (2017) [pdf]
  6. …code within hours". This change to Blake2b for instance took me a few minutes to make and verify. https://github.com/LoupVaillant/Monocypher/commit/80ebf55307... > A strong feeling that something is "bug-free" does not tell me that…
  7. …Also, what the hell is this macro defined in the middle of a function and then only used twice: https://github.com/LoupVaillant/Monocypher/blob/master/src/m... Why do you need this function for "constant time comparison to 0":…
  8. …(although you could do much of the same with macros, but I'm not sure if that's any better). [1]: https://github.com/LoupVaillant/Monocypher/blob/master/src/m...
  9. …this is justified. Also, quality requirements for crypto code are kinda off the chart.) [1]: https://github.com/LoupVaillant/Monocypher
  10. `ctx->c` is a u32[1] and msg is u8. So yeah there is integer promotion here. [1]: https://github.com/LoupVaillant/Monocypher/blob/master/src/m...
    comment by baby · 2017-08-03 · in How I implemented my own crypto
  11. …wrong. Would really appreciate it if someone here could show a test case where this matters. [1] https://github.com/LoupVaillant/Monocypher/commit/347189c50c...
    comment by kbeckmann · 2017-08-03 · in How I implemented my own crypto
  12. ▲ 2
    Monocypher – an easy to use, easy to deploy, auditable crypto library
    story by gbrown_ · 2017-07-22 · 0 comments