Post Reply 
How to run an expression in CAS mode in program
06-23-2017, 09:24 PM
Post: #5
RE: How to run an expression in CAS mode in program
Some great suggestions here. BTW, FYI on how g^aMODp is normally calculated (is used a lot in key exchange in encryption algorithms like Diffie Hellman). The algorithm implementation uses the property that
axbMODc = (aMODc x bMODc)MOD c
and
g^2MODp = (gMODp)^2 MOD p
This way, the g^a term never has to fit in a number greater than p. Is a clever trick used in such implementations.
Thanks for all the help.
-Donald
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to run an expression in CAS mode in program - webmasterpdx - 06-23-2017 09:24 PM



User(s) browsing this thread: 1 Guest(s)