Y
Hacker News
new
|
ask
|
show
|
jobs
by
sweeneyrod
2500 days ago
Damn, looks like I should stop using 21 as my PK then.
2 comments
nielsole
2500 days ago
Not sure what algorithm you use for encryption, but 21 doesn't look like a prime. Maybe run a Miller Rabin test on it? ;)
link
sweeneyrod
2500 days ago
It's the modulus of my RSA PK, so the product of two large primes rather than a prime itself. Of course, I can't say what the factors are, otherwise anyone could crack it even if they don't have a quantum computer!
link
neuralzen
2500 days ago
Just XOR 21 times, problem solved!
link
myle
2500 days ago
Always with the same mask, to make sure it is applied well.
link