#RSA - "public" and "private" key
1 messages · Page 2 of 1
- means under multiplication, removing non units
only elements coprime to m are invertible
then a^phi(m) = 1 mod m is an immediate consequence of euler's theorem
what
look
what I know is this
2 to the power of k mod 5
has a cycle
in this case 243124312431
etc
cycle length is 4
and the cycle length always has to be a factor of phi(m)
is that not right?
I'm not sure what you mean by cycle
what do you mean with "cycle"?
ah
2^5 mod 5 is 2
this is called a subgroup generated by one of the elements
can this be used to prove?
this is used to prove euler's theorem, yes
if you have a group G then any element raised to the order of G is the identity
how so
you basically look at the subgroup generated by the element then use lagrange
not sure how I would explain this without actual group theory
I'd recommend you just pick up a book like artin or whatever and give it a read
one second
can we collect all the formulas
we've written so far
p=prime
a^p = a mod p
a^(p - 1) = 1 mod p
a coprime m
a^(phi(m)) = 1 (mod m)
is this true?
well duh
p is a prime number
so only true when a =/= p
why would a = 2p
why wouldn't it
because we havent done it
we are usually given decimal natural numbers
not a = 2p
( @vivid nexus they are in school and their teacher decided to show them some uni math lol - so naturally they don't really know a lot about the terms and foundation)
yes, but what if
we have to cover all cases
not just the ones we might use
u earlier said that the gcd must be 1. but that doesn't necessarily have to be the case, if a was picked "badly" and is a multiple of p
uh
that was the point they tried to make
a^(phi(m)) = 1 (mod m) works only if a and m are coprime does it not?
i unfortunately didnt understand it
ill just memorize that
it would make sense if u would be able to do the proof urself now
but its too advanced i suppose

I mean
idk the number theory proof
only the algebraic one
if you think so
then I really dont want to try
lol
it's all fair, but it's kinda hard to go into the rabbit hole without doing all the foundation first
my exam is tomorrow
going too deep into the rabbit hole at this stage
might ruin it
it's a bit surreal to talk with someone about advanced math who hasnt seen the sum sigma yet for example
the route ur teacher picked is a bit weird
this whole subject is weird
its "extra math"
but the thing is
on the good side, when u ever take some math course at uni, its not new to u anymore lol
its designed so that people who do it dont have an advantage in normal math or in computer science
which is just very dumb
i am already familiar with uni content
seeing as it is my third semester
ik this is weird
but I study university alongside school
actually, I think YOU helped me back in my first semester on a java assignment
ah fair
do you do computer science or mathematics
so
we go back a long way
lol
I do everything really
this semester i went math
but it was too complex
next semester ill tone it down a little
what course are you taking
some linear algebra courses introduce groups and rings and stuff
I honestly rarely understand anything he says
and the fact that we must code assignments in LaTeX
do you know set theory
makes it way worse
because I am super unfamiliar and honestly just suck at writin LaTeX script
😵💫
math is the most prereq heavy
if you don't have the prereqs you might as well not understand anything
i know
which is why the only exam I ever submitted was economy
in which I got a pristine 1,0
aka full grade
how do you submit an exam
i have to submit all assignments
im a normal uni student so to speak
just obliged to go to school
so am I
and not obliged to submit any exams
but I have the same priviliges as other uni students
you take exams, not submit them lol
pff
I took mine online
so I kinda submitted it
but yes youre right
what school year are you in
tenth
ah nice me too
how old are you though
15
same
but not for long
turning 16 in 2 days
lol
@vivid nexus do you know your cryptology?
maybe RSA?
I don't know cryptography
aah
shame
but you know your algorithms well
props to you man
algorithms?
I know some math, yes
yeah
@vivid nexus
one small question
how do we get from a^p = a (mod p) to a^p-1 = 1 (mod p)
a^p-1 * a is a?
wait
a^p-1 = a^p + a^-1 + a^1
a^-1 + a^1 = 0?
what?
where did I say that
nvm that
a^p-1 * a= a^p + a^-1 + a^1
a^-1 + a^1 = 0?
this
why is a^p-1 = a^p + a^-1 + a^1
forgot the times a
?
no
why
why would it
you're asking "why is that false"
how do you get to this
I'm asking you "why should that be true"
by definition of a^p?
this is like
very basic math
2^3 = 2^2 * 2
what is p-1
are you asking what subtraction is
no