currently using CASIO fx-570MS scientific calculator
doing RSA and Diffie Helman cryptography tutorial.. i wonder how to calculate the modulus in scientific calculator
Science how to calculate modulus in scientific calculator, already try to do d/c method not working
|
|
Apr 26 2014, 01:13 AM, updated 12y ago
Show posts by this member only | Post
#1
|
![]()
Junior Member
29 posts Joined: Jul 2009 From: MALAYSIA maksudnya Tanah Melayu dalam bahasa latin |
when the number get too big like, 12^17 mod 12 .. it just didn't show up
currently using CASIO fx-570MS scientific calculator doing RSA and Diffie Helman cryptography tutorial.. i wonder how to calculate the modulus in scientific calculator |
|
|
Apr 27 2014, 03:37 AM
Show posts by this member only | Post
#2
|
|
Elite
11,400 posts Joined: Jan 2003 |
QUOTE(hack3line @ Apr 26 2014, 01:13 AM) when the number get too big like, 12^17 mod 12 .. it just didn't show up Use human brain. currently using CASIO fx-570MS scientific calculator doing RSA and Diffie Helman cryptography tutorial.. i wonder how to calculate the modulus in scientific calculator 12 to the power of any integer (1 or above) modulus 12 is always zero. Because modulus is the remainder, and if all the factors in the number is 12, then modulus 12 would always be zero. Scientific calculators do not have arbitrary precision. For other large values, to check the remainder, use an arbitrary precision calculator like bc (comes free with Linux. There might be a windows port somewhere if you look hard enough). for example CODE $ bc bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 12 ^ 17 2218611106740436992 12 ^ 17 % 12 0 13 ^ 17 8650415919381337933 13 ^ 17 % 12 1 |
|
|
Apr 27 2014, 11:15 AM
Show posts by this member only | Post
#3
|
![]()
Junior Member
29 posts Joined: Jul 2009 From: MALAYSIA maksudnya Tanah Melayu dalam bahasa latin |
thanks for the explanation dkk
|
| Change to: | 0.0138sec
0.66
5 queries
GZIP Disabled
Time is now: 30th November 2025 - 08:34 PM |