㷨 ԭɢ
ggr11?p?1?p1gr12?p?1??gr1??1?1??1?3?p?1?p1
r11?p?1?p12p1 ?z1?ôȷr10ķʽȷr11
111?p?1??modp? r?p?1?p?g?modp?
?r11p1z?zgͬ?1?32 1gr1?r10?r11p1?g2r12p1+??r1??p1?1?1r?1?1
p1?z2??p?1?3p1=gr1?r10?r11p1???p?1?3p1g12?p?1??modp?
ʽȷr12
Դƣɵr13,r14,?,r1??1?1?
⣬ϱߵƵ̿Կȷ
r10,r11,?,r1??1?1?ʱÿζҪõ
p1gi?p?1?p1?g??p?1??i?modp?i0, 1, ,
p?1?p1Ϊp1?1
?˼㷽㣬?1?gԤȼ
p
?1,?12,?,?1p?1Ȼ?10?g0??p?1?1p11mod
ԱʹʱֱӲɡ
6.4.1p8101g6y7833xʹ֮
y?gx?modp?
⣩
8101613501 6(1350)1mod 8101
6?1ԣ13506751mod 8101 Σֽp?1
p?18100223452
?6p12?1?g?1i6.4.1
6.4.1 ?1i
33/58
?p?1?p1810028100mod 8101
㷨 ԭɢ
?10 ?1 1 8100
2?6p23?2?g5883mod 8101?2i6.4.2 ?22?588322217mod 8101
?p?1?p81003
6.4.2 ?2i ?20 ?2 ?22 1 5883 2217 p35?3?g?p?1?p?6810053547mod 8101?3i6.4.3
6.4.3 ?3i ?30 ?3 ?32 ?33 ?34 1 3547 356 7077 5221
ap12?12Ҫֱȷr10,r11Ի
3r1=r10+r11?2
a.1
y?p?1?p1?783381002?783340508100mod 8101
6.4.1֪8100?1
r101
a.2
z1?yg?r10?7833?6?1783367515356mod 8101
?z1??p?1?2p1?53568100221mod 8101
6.4.1֪1?10
r110
r11021
bp23?24Ҫֱȷr20,r21,r22,r23Ի
23r=r+r?3+r?3+r?322021 2223b.1
y?p?1?p2?783381003?783327002217mod 8101
34/58
6.4.2֪2217?22
㷨 ԭɢ
r202
b.2
z1?yg?r20?7833?6?2?7833?675123593mod 8101
?z1??p?1?2p2?3593810032?35939002217mod 8101
6.4.2֪2217?22
r212
b.3
z2?z1g?r21p2?3593?6?2?3?3593?675163708mod
8101
?z2??p?1?3p2?3708810033?37083005883mod 8101
r221
b.4
z3?z2g2?r22p2?3708?6?1?32?3708?675196926mod
8101
?z3??p?1?4p2?6926810034?69261005883mod 8101
r231
r222313213344
cp35?32
y?p?1?p3?783381005?78331620356mod 8101
r302
z1?yg?r30?7833?6?2?7833?675123593mod
8101
?z1??p?1?2p3?3593810052?3593324356mod 8101
r312
r322512
?1M1=?p?1?p1=34522025
?2M2=?p?1?p2=2252100
?3M3=?p?1?p3=2234324
35/58
㷨 ԭɢ
ֱͬ
M1M1?1?2025M1?1?1?mod22?
?1?1M2M2?100M2?1?mod34?
M3M3?1?324M3?1?1?mod52?
M1?1?1?mod22?
?1M2?64?mod34?
M3?1?24?mod52?
?1x?1rMM11??1rM?22M2?1rMM33?m3od??1 p11202544100641232424
mod 8100
4337mod 8100
643377833mod 8101dlog678334337mod 8100
Ҫ˵ǣǰƵ̿ԿPohlid-Hellman㷨ٺͱȽr1j
?k?1?2p2?pkr1յõĴxʵp?1?p1ֻ
Сʱ㷨Чֻ֮Ҫp?1һܴqʹñ㷨岢Ϊʱ
??gij??p?1?pj?i?modp?i0, 1, , qĹ
ܴġ 5. 4. 2 Shank
Shank̿ˣһֱȽЧ㷨ٶȿ죬ҪĴ洢Ҳ١
֪payx
y?ax?modp? 0?xn
naij˷ڣa?1?modp?
ȼɢx?dlogp,ay
nShankGF?p?ϽУڼZp36/58