Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-0
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.3.14 babyGiant
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
babyGiant(b,y,p);
Return:
the discrete logarithm x: b^x=y mod p
Note:
This procedure works based on Shank's baby step - giant step method.
Example:
LIB "crypto.lib"; bigint b=2; bigint y=10; bigint p=101; babyGiant(b,y,p); ==> 25
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal