Does classifying an integer as a discrete log require it be part of a multiplicative group? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Why was the term “discrete” used in discrete logarithm?Discrete log problem, when we have many examplesFinding where I am in a linear recurrence relationA discrete-log-like problem, with matrices: given $A^k x$, find $k$iterated discrete log problemWhy can ECC key sizes be smaller than RSA keys for similar security?Is the reverse of the “discrete logarithm problem” equally dificult?How to construct a hash function into a cyclic group such that its discrete log is intractable?The computational complexity of discrete logSolving the discrete logarithm problem for a weak groupSolving discrete log in partially known group
How come Sam didn't become Lord of Horn Hill?
Where are Serre’s lectures at Collège de France to be found?
Why wasn't DOSKEY integrated with COMMAND.COM?
Is CEO the profession with the most psychopaths?
representation of vector and matrix in latex
Is grep documentation wrong?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?
Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?
How to find all the available tools in mac terminal?
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Wu formula for manifolds with boundary
What is the meaning of the simile “quick as silk”?
Does classifying an integer as a discrete log require it be part of a multiplicative group?
For a new assistant professor in CS, how to build/manage a publication pipeline
Do I really need recursive chmod to restrict access to a folder?
Can an alien society believe that their star system is the universe?
What causes the direction of lightning flashes?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
How to Make a Beautiful Stacked 3D Plot
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
What would be the ideal power source for a cybernetic eye?
また usage in a dictionary
Does classifying an integer as a discrete log require it be part of a multiplicative group?
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Why was the term “discrete” used in discrete logarithm?Discrete log problem, when we have many examplesFinding where I am in a linear recurrence relationA discrete-log-like problem, with matrices: given $A^k x$, find $k$iterated discrete log problemWhy can ECC key sizes be smaller than RSA keys for similar security?Is the reverse of the “discrete logarithm problem” equally dificult?How to construct a hash function into a cyclic group such that its discrete log is intractable?The computational complexity of discrete logSolving the discrete logarithm problem for a weak groupSolving discrete log in partially known group
$begingroup$
This question is not a question about the discrete log problem, the generalized discrete log problem, or an additive group.
The confusion is whether any integer can be considered a discrete log or whether a discrete log has as a precondition, that it be part of a multiplicative group. This wikipedia would seem to indicate that the answer is yes.
For example 0
doesn't have a multiplicative inverse and is therefore not part of a multiplicative group.
discrete-logarithm terminology
$endgroup$
|
show 9 more comments
$begingroup$
This question is not a question about the discrete log problem, the generalized discrete log problem, or an additive group.
The confusion is whether any integer can be considered a discrete log or whether a discrete log has as a precondition, that it be part of a multiplicative group. This wikipedia would seem to indicate that the answer is yes.
For example 0
doesn't have a multiplicative inverse and is therefore not part of a multiplicative group.
discrete-logarithm terminology
$endgroup$
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
1
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago
|
show 9 more comments
$begingroup$
This question is not a question about the discrete log problem, the generalized discrete log problem, or an additive group.
The confusion is whether any integer can be considered a discrete log or whether a discrete log has as a precondition, that it be part of a multiplicative group. This wikipedia would seem to indicate that the answer is yes.
For example 0
doesn't have a multiplicative inverse and is therefore not part of a multiplicative group.
discrete-logarithm terminology
$endgroup$
This question is not a question about the discrete log problem, the generalized discrete log problem, or an additive group.
The confusion is whether any integer can be considered a discrete log or whether a discrete log has as a precondition, that it be part of a multiplicative group. This wikipedia would seem to indicate that the answer is yes.
For example 0
doesn't have a multiplicative inverse and is therefore not part of a multiplicative group.
discrete-logarithm terminology
discrete-logarithm terminology
asked 7 hours ago
JohnGaltJohnGalt
28528
28528
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
1
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago
|
show 9 more comments
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
1
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
1
1
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago
|
show 9 more comments
2 Answers
2
active
oldest
votes
$begingroup$
The discrete logarithm $log_b a$ is an integer $x$ such that $b^x = a$. Similarly to the logarithms, we need a base, here $b$.
If the base is a generator of the group $g$ then any element of the group can be written as a power of the $g$ for some $k$, $y = g^k$. Therefore, the discrete log of $y$ according to base $g$ is $k$.
Take a generator $g$ of a multiplicative group $G$ with order $n$, and then take $g'=g^k$ where $gcd(k,n) neq 1$. Now the $g'$ will generate a subgroup $G'leqslant G$, not the full group. Then any element of the full group $ a in G$ and $a notin G'$ has not discrete logarithm according to base $g'$, even it is not a member of the subgroup.
When we consider the non-zero elements of a field $Fbackslash0$ they are forming a cyclic group under multiplication. For a proof see the Theorem 1.
$endgroup$
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
add a comment |
$begingroup$
Of course any integer can be a discrete logarithm: in a group $G$ with generator $g$, any integer $x$ is a discrete logarithm of the group element $g^x$.
Another convenient way to consider the set of discrete logarithms is as the ring $mathbf Z/nmathbf Z$, where $n$ is the order of $G$, which makes sense because $g^x = g^x bmod n$ for all $x$. This is especially convenient when $n$ is prime because then the discrete logarithms form a field.
Either way (unless the group is trivial) the discrete logarithms form a non-trivial ring with unity, which is not a group for multiplication.
$endgroup$
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "281"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f68851%2fdoes-classifying-an-integer-as-a-discrete-log-require-it-be-part-of-a-multiplica%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The discrete logarithm $log_b a$ is an integer $x$ such that $b^x = a$. Similarly to the logarithms, we need a base, here $b$.
If the base is a generator of the group $g$ then any element of the group can be written as a power of the $g$ for some $k$, $y = g^k$. Therefore, the discrete log of $y$ according to base $g$ is $k$.
Take a generator $g$ of a multiplicative group $G$ with order $n$, and then take $g'=g^k$ where $gcd(k,n) neq 1$. Now the $g'$ will generate a subgroup $G'leqslant G$, not the full group. Then any element of the full group $ a in G$ and $a notin G'$ has not discrete logarithm according to base $g'$, even it is not a member of the subgroup.
When we consider the non-zero elements of a field $Fbackslash0$ they are forming a cyclic group under multiplication. For a proof see the Theorem 1.
$endgroup$
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
add a comment |
$begingroup$
The discrete logarithm $log_b a$ is an integer $x$ such that $b^x = a$. Similarly to the logarithms, we need a base, here $b$.
If the base is a generator of the group $g$ then any element of the group can be written as a power of the $g$ for some $k$, $y = g^k$. Therefore, the discrete log of $y$ according to base $g$ is $k$.
Take a generator $g$ of a multiplicative group $G$ with order $n$, and then take $g'=g^k$ where $gcd(k,n) neq 1$. Now the $g'$ will generate a subgroup $G'leqslant G$, not the full group. Then any element of the full group $ a in G$ and $a notin G'$ has not discrete logarithm according to base $g'$, even it is not a member of the subgroup.
When we consider the non-zero elements of a field $Fbackslash0$ they are forming a cyclic group under multiplication. For a proof see the Theorem 1.
$endgroup$
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
add a comment |
$begingroup$
The discrete logarithm $log_b a$ is an integer $x$ such that $b^x = a$. Similarly to the logarithms, we need a base, here $b$.
If the base is a generator of the group $g$ then any element of the group can be written as a power of the $g$ for some $k$, $y = g^k$. Therefore, the discrete log of $y$ according to base $g$ is $k$.
Take a generator $g$ of a multiplicative group $G$ with order $n$, and then take $g'=g^k$ where $gcd(k,n) neq 1$. Now the $g'$ will generate a subgroup $G'leqslant G$, not the full group. Then any element of the full group $ a in G$ and $a notin G'$ has not discrete logarithm according to base $g'$, even it is not a member of the subgroup.
When we consider the non-zero elements of a field $Fbackslash0$ they are forming a cyclic group under multiplication. For a proof see the Theorem 1.
$endgroup$
The discrete logarithm $log_b a$ is an integer $x$ such that $b^x = a$. Similarly to the logarithms, we need a base, here $b$.
If the base is a generator of the group $g$ then any element of the group can be written as a power of the $g$ for some $k$, $y = g^k$. Therefore, the discrete log of $y$ according to base $g$ is $k$.
Take a generator $g$ of a multiplicative group $G$ with order $n$, and then take $g'=g^k$ where $gcd(k,n) neq 1$. Now the $g'$ will generate a subgroup $G'leqslant G$, not the full group. Then any element of the full group $ a in G$ and $a notin G'$ has not discrete logarithm according to base $g'$, even it is not a member of the subgroup.
When we consider the non-zero elements of a field $Fbackslash0$ they are forming a cyclic group under multiplication. For a proof see the Theorem 1.
edited 5 hours ago
answered 6 hours ago
kelalakakelalaka
8,87532351
8,87532351
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
add a comment |
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
It is very possible for $g^2$ to be a generator of $G$; in fact it will be one if and only if the order of $G$ is odd.
$endgroup$
– fkraiem
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
$begingroup$
@fkraiem updated to guarantee that $g^k$ is generates a subgroup.
$endgroup$
– kelalaka
5 hours ago
add a comment |
$begingroup$
Of course any integer can be a discrete logarithm: in a group $G$ with generator $g$, any integer $x$ is a discrete logarithm of the group element $g^x$.
Another convenient way to consider the set of discrete logarithms is as the ring $mathbf Z/nmathbf Z$, where $n$ is the order of $G$, which makes sense because $g^x = g^x bmod n$ for all $x$. This is especially convenient when $n$ is prime because then the discrete logarithms form a field.
Either way (unless the group is trivial) the discrete logarithms form a non-trivial ring with unity, which is not a group for multiplication.
$endgroup$
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
|
show 1 more comment
$begingroup$
Of course any integer can be a discrete logarithm: in a group $G$ with generator $g$, any integer $x$ is a discrete logarithm of the group element $g^x$.
Another convenient way to consider the set of discrete logarithms is as the ring $mathbf Z/nmathbf Z$, where $n$ is the order of $G$, which makes sense because $g^x = g^x bmod n$ for all $x$. This is especially convenient when $n$ is prime because then the discrete logarithms form a field.
Either way (unless the group is trivial) the discrete logarithms form a non-trivial ring with unity, which is not a group for multiplication.
$endgroup$
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
|
show 1 more comment
$begingroup$
Of course any integer can be a discrete logarithm: in a group $G$ with generator $g$, any integer $x$ is a discrete logarithm of the group element $g^x$.
Another convenient way to consider the set of discrete logarithms is as the ring $mathbf Z/nmathbf Z$, where $n$ is the order of $G$, which makes sense because $g^x = g^x bmod n$ for all $x$. This is especially convenient when $n$ is prime because then the discrete logarithms form a field.
Either way (unless the group is trivial) the discrete logarithms form a non-trivial ring with unity, which is not a group for multiplication.
$endgroup$
Of course any integer can be a discrete logarithm: in a group $G$ with generator $g$, any integer $x$ is a discrete logarithm of the group element $g^x$.
Another convenient way to consider the set of discrete logarithms is as the ring $mathbf Z/nmathbf Z$, where $n$ is the order of $G$, which makes sense because $g^x = g^x bmod n$ for all $x$. This is especially convenient when $n$ is prime because then the discrete logarithms form a field.
Either way (unless the group is trivial) the discrete logarithms form a non-trivial ring with unity, which is not a group for multiplication.
answered 6 hours ago
fkraiemfkraiem
6,81021733
6,81021733
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
|
show 1 more comment
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
what if n is a square? If n = k^2, then k is not a discrete log mod n.
$endgroup$
– grovkin
5 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
@grovkin Why not? $k$ is a discrete log of $g^k$. Are you confusing it with quadratic residue?
$endgroup$
– fkraiem
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
I was just looking for an example of a group element which would not generate anything but itself. I guess copies of Z/2Z is what I should have gone with. But it's not an interesting example. What about Z/nZ, where n = p^l? What is the discrete log of 1+p^l-p^(l-1)? p is a prime, of course.
$endgroup$
– grovkin
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
@grovkin To talk about discrete logs, you need a cyclic group and a generator. If your group is Z/nZ (additive) with generator 1, the discrete log of k is k.
$endgroup$
– fkraiem
4 hours ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
$begingroup$
discrete log refers to solution of log_b(a) in a ring Z/nZ. Let's make it really concrete. in Z/9Z, what number is 7 a discrete log of? I didn't pick p^l-p^(l-1) out of nowhere. It's the number of units in the Z/(p^l)Z ring. So no number in this ring will have (multiplicative) order larger than p^l-p^(l-1). So 1+p^l-p^(l-1) cannot be a power to which any number needs to be raised to get another number. Hence the example: no number in Z/9Z can have a discrete log of 7.
$endgroup$
– grovkin
1 hour ago
|
show 1 more comment
Thanks for contributing an answer to Cryptography Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f68851%2fdoes-classifying-an-integer-as-a-discrete-log-require-it-be-part-of-a-multiplica%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
@kelalaka Would you mind expanding upon "The discrete log is defined according to a base as the logarithm."
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
@kelalaka also if "0 is not a part of the multiplicative group" does that mean that not all integers are part of a discrete log?
$endgroup$
– JohnGalt
7 hours ago
$begingroup$
Whomever down voted my question, I respect the decision, however, it would be helpful if you commented as to why you down voted it.
$endgroup$
– JohnGalt
6 hours ago
$begingroup$
Your question currently has no downvotes. That said, I'm tempted to vote to close it as unclear, since it seems to be based on some kind of a confusion of terminology, and it's literally not clear to me what you're trying to ask. The two answers already below are both correct and well written, but they answer completely different questions.
$endgroup$
– Ilmari Karonen
3 hours ago
1
$begingroup$
@JohnGalt In the statement you quoted, the context is discrete logs in $mathbb Z/nmathbb Z$ for some $n$. It means: For any integer $x$, there exists some $n$ and some $g, h in mathbb Z/nmathbb Z$ such that $x = log_g h$, i.e. $h = g^x$. To interpret that sentence, there is no need to extend the term ‘discrete log’ to the ring of all integers, or to extend the term to apply outside the context of any particular group, because the term is only ever being used within some particular group $mathbb Z/nmathbb Z$.
$endgroup$
– Squeamish Ossifrage
7 mins ago