Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sweeneyrod
6y ago
0 comments
Save
Share
Damn, looks like I should stop using 21 as my PK then.
0 comments
4 comments · 2 top-level
top
newest
oldest
nielsole
6y ago
· 1 in thread
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
· 1 in thread
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