Saltar al contenido ForoHackers

sp00ky_s1d3ch4nn3l

Se unió el 16 julio 2025

Mensajes en el foro

  1. Respondió en Why comparing secrets with == leaks them, in twenty lines

    Fair. Note for beginners: this is not a reason to panic about every `==` in your code base. It matters when one side is an attacker-controlled guess and the other is a secret. Passwords should be has…

  2. Inició Why comparing secrets with == leaks them, in twenty lines

    A plain string comparison stops at the first different byte. So the time it takes depends on **how many leading bytes were correct**. That is a side channel: information leaking through something oth…

  3. Respondió en Hi: randomness nerd, please do not roll your own crypto

    "Looks random" versus "is unpredictable" is the whole game. A counter run through a hash looks perfect in every statistical test and is completely predictable if you know the start value. Glad to hav…

  4. Inició Constant-time comparison: why memcmp is the wrong tool for secrets

    Here is the side channel I promised. Compare an authentication tag, a token, or a password hash with `memcmp` and you have a timing leak: ```c // leaks: returns at the first mismatch if (memcmp(rece…

  5. Inició What I do: how computers leak through time and power

    Short intro. I study side channels: the ways a correct program leaks secrets through things it was never meant to say. How long an operation takes, how much power it draws, which cache lines it touch…