Page 11 of 18

Re: Codebusters C

Posted: February 23rd, 2019, 8:30 pm
by waterlubber
Anyone know about "ideal" calculators? Basically, the most digits (and with a memory, hopefully) that you can cram into a four-function. RSA is...calculationally demanding, to say the least.

Re: Codebusters C

Posted: February 23rd, 2019, 9:20 pm
by UTF-8 U+6211 U+662F
waterlubber wrote:Anyone know about "ideal" calculators? Basically, the most digits (and with a memory, hopefully) that you can cram into a four-function. RSA is...calculationally demanding, to say the least.
I don't do this event but what part of the RSA are you using your calculator most for? It seems like given small primes, it shouldn't be that bad

Re: Codebusters C

Posted: February 23rd, 2019, 11:42 pm
by jimmy-bond
On a practice test, I had the question "Encode DREW BREES using the keyword VEAR." It displayed VEAR as a 2x2 matrix, so this is clearly a Hill cipher problem. I tried encrypting it as I would a normal Hill cipher but got a different answer than the answer key. I'm pretty sure I did it wrong, so can someone explain to me how to do this problem and the solution you get? Thanks.

Re: Codebusters C

Posted: February 24th, 2019, 7:43 am
by Anonymous15
Thank you all for your answers to my questions from before!

Re: Codebusters C

Posted: February 24th, 2019, 8:04 am
by dragonfruit35
jimmy-bond wrote:On a practice test, I had the question "Encode DREW BREES using the keyword VEAR." It displayed VEAR as a 2x2 matrix, so this is clearly a Hill cipher problem. I tried encrypting it as I would a normal Hill cipher but got a different answer than the answer key. I'm pretty sure I did it wrong, so can someone explain to me how to do this problem and the solution you get? Thanks.
Which way did you write the DREW BREES matrix? With the letters readable horizontally or vertically?

Re: Codebusters C

Posted: February 24th, 2019, 9:14 am
by jimmy-bond
dragonfruit35 wrote:Which way did you write the DREW BREES matrix? With the letters readable horizontally or vertically?
Idk how to put a matrix but I did

D R
E W
B R
E E
S

Re: Codebusters C

Posted: February 24th, 2019, 2:13 pm
by Longivitis
jimmy-bond wrote:
dragonfruit35 wrote:Which way did you write the DREW BREES matrix? With the letters readable horizontally or vertically?
Idk how to put a matrix but I did

D R
E W
B R
E E
S
It's supposed to be
D
R
E
W
B
R
E
E
S
(Z)

and then multiply by the 2x2 matrix keyword

Re: Codebusters C

Posted: February 24th, 2019, 2:48 pm
by UTF-8 U+6211 U+662F
Longivitis wrote:
jimmy-bond wrote:
dragonfruit35 wrote:Which way did you write the DREW BREES matrix? With the letters readable horizontally or vertically?
Idk how to put a matrix but I did

D R
E W
B R
E E
S
It's supposed to be
D
R
E
W
B
R
E
E
S
(Z)

and then multiply by the 2x2 matrix keyword
You can't multiply those two matrices. They don't line up. It's supposed to be
the VEAR matrix multiplied by
and then the VEAR matrix multiplied by
etc., etc., I believe.

Although annoyingly, it's not evenly split into chunks of 2 so you'd have to insert an extra letter at the end.

Re: Codebusters C

Posted: February 24th, 2019, 6:29 pm
by Longivitis
UTF-8 U+6211 U+662F wrote:
Longivitis wrote:
jimmy-bond wrote: Idk how to put a matrix but I did

D R
E W
B R
E E
S
It's supposed to be
D
R
E
W
B
R
E
E
S
(Z)

and then multiply by the 2x2 matrix keyword
You can't multiply those two matrices. They don't line up. It's supposed to be
the VEAR matrix multiplied by
and then the VEAR matrix multiplied by
etc., etc., I believe.

Although annoyingly, it's not evenly split into chunks of 2 so you'd have to insert an extra letter at the end.
Yeah, that's what I meant guess I really wasn't clear enough.

Re: Codebusters C

Posted: February 24th, 2019, 6:33 pm
by dragonfruit35
Longivitis wrote:
UTF-8 U+6211 U+662F wrote:
Longivitis wrote:
It's supposed to be
D
R
E
W
B
R
E
E
S
(Z)

and then multiply by the 2x2 matrix keyword
You can't multiply those two matrices. They don't line up. It's supposed to be
the VEAR matrix multiplied by
and then the VEAR matrix multiplied by
etc., etc., I believe.

Although annoyingly, it's not evenly split into chunks of 2 so you'd have to insert an extra letter at the end.
Yeah, that's what I meant guess I really wasn't clear enough.
Yeah, UTF is right, it should be multiplied by the encryption key, in whichever orientation they gave it to you, to be clear.