%0 Journal Article %J Journal of Mathematical Cryptology %D 2014 %T Quantum computation of discrete logarithms in semigroups %A Andrew M. Childs %A Gábor Ivanyos %X We describe an efficient quantum algorithm for computing discrete logarithms in semigroups using Shor's algorithms for period finding and discrete log as subroutines. Thus proposed cryptosystems based on the presumed hardness of discrete logarithms in semigroups are insecure against quantum attacks. In contrast, we show that some generalizations of the discrete log problem are hard in semigroups despite being easy in groups. We relate a shifted version of the discrete log problem in semigroups to the dihedral hidden subgroup problem, and we show that the constructive membership problem with respect to $k \ge 2$ generators in a black-box abelian semigroup of order $N$ requires $\tilde \Theta(N^{\frac{1}{2}-\frac{1}{2k}})$ quantum queries. %B Journal of Mathematical Cryptology %V 8 %8 2014/01/1 %G eng %U http://arxiv.org/abs/1310.6238v2 %N 4 %! Journal of Mathematical Cryptology 8 %R 10.1515/jmc-2013-0038