Re:Brute forcing JSON Web Tokens in C
by scandox on Monday January 23, 2017 @10:23AM
(#13462755)
I couldn't no. Made sure I was using everything the same, but I couldn't determine any relationship between original secret and one produced by program. However contrary to my original statement it turned out secret in use was actually only 30 characters long. I've passed on more detailed info to OP.
[ Parent
| on HN ]
Re:Brute forcing JSON Web Tokens in C
by porpoisemonkey on Tuesday January 24, 2017 @01:32PM
(#13474098)
Thanks for checking.
> However contrary to my original statement it turned out secret in use was actually only 30 characters long.
I'm guessing it's 32 characters long? (256 bits) That matches to the spec and is a good key - as referenced in other threads anything longer is mostly a waste as the key input gets hashed down to a fixed size.