Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
sweeneyrod
6y ago
0 comments
Share
Damn, looks like I should stop using 21 as my PK then.
0 comments
default
newest
oldest
nielsole
6y 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? ;)
sweeneyrod
OP
6y 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!
neuralzen
6y ago
Just XOR 21 times, problem solved!
myle
6y ago
Always with the same mask, to make sure it is applied well.
j
/
k
navigate · click thread line to collapse