Skip to content

Instantly share code, notes, and snippets.

@yogithesymbian
Last active August 27, 2020 22:36
Show Gist options
  • Save yogithesymbian/559560d184ccd31458964c9c80428548 to your computer and use it in GitHub Desktop.
Save yogithesymbian/559560d184ccd31458964c9c80428548 to your computer and use it in GitHub Desktop.
pembangkitan kunci untuk penentuan konstanta p dan q yang prima berdasarkan informasi peranti
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-0
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 82 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597392200034
waktu sekarang : 2020-08-14 16:03:20
Hours : 04
Min : 03
Sec : 20
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 7
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-8
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-8 08:03:21
id.scode.digitalsignature D/ChoosePqRev: outer check : 08 : 03 : 21
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-8]
4 // inisial
8 HOUR // H
3 MIN // m
21 SEC // s
untuk Pindex = inisial * h = 32 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 58] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 96] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 32
id.scode.digitalsignature D/ChoosePqRev: K1 timePosition Qi = 58
id.scode.digitalsignature D/ChoosePqRev: number pPi = 137 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 277 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 4 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-1
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597392498426
waktu sekarang : 2020-08-14 16:08:18
Hours : 04
Min : 08
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 16
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+6
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+6 18:08:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 18 : 08 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+6]
4 // inisial
18 HOUR // H
8 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 72 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 26] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 11] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 72
id.scode.digitalsignature D/ChoosePqRev: K1 timePosition Qi = 26
id.scode.digitalsignature D/ChoosePqRev: number pPi = 367 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 103 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 6 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-2
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 1 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597392798429
waktu sekarang : 2020-08-14 16:13:18
Hours : 04
Min : 13
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 23
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+13
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+13 11:13:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 11 : 13 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+13]
4 // inisial
11 HOUR // H
13 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 44 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 18] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 31] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 44
id.scode.digitalsignature D/ChoosePqRev: K1 timePosition Qi = 18
id.scode.digitalsignature D/ChoosePqRev: number pPi = 197 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 67 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-3
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597393098442
waktu sekarang : 2020-08-14 16:18:18
Hours : 04
Min : 18
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 7
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-8
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-8 08:18:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 08 : 18 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-8]
4 // inisial
8 HOUR // H
18 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 32 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 10] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 51] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 32
id.scode.digitalsignature D/ChoosePqRev: K1 timePosition Qi = 10
id.scode.digitalsignature D/ChoosePqRev: number pPi = 137 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 31 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-4
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597393398444
waktu sekarang : 2020-08-14 16:23:18
Hours : 04
Min : 23
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 7
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-8
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-8 08:23:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 08 : 23 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-8]
4 // inisial
8 HOUR // H
23 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 32 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 2] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 71] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 32
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 71
id.scode.digitalsignature D/ChoosePqRev: number pPi = 137 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 359 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-5
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597393698449
waktu sekarang : 2020-08-14 16:28:18
Hours : 04
Min : 28
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 17
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+7
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+7 17:28:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 17 : 28 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+7]
4 // inisial
17 HOUR // H
28 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 68 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 91] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 91] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 68
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 91
id.scode.digitalsignature D/ChoosePqRev: number pPi = 347 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 479 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-6
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597393998448
waktu sekarang : 2020-08-14 16:33:18
Hours : 04
Min : 33
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 7
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-8
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-8 08:33:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 08 : 33 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-8]
4 // inisial
8 HOUR // H
33 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 32 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 83] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 14] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 32
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 14
id.scode.digitalsignature D/ChoosePqRev: number pPi = 137 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 47 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-7
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 1 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597394298458
waktu sekarang : 2020-08-14 16:38:18
Hours : 04
Min : 38
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 13
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+3
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+3 21:38:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 21 : 38 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+3]
4 // inisial
21 HOUR // H
38 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 84 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 75] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 34] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 84
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 34
id.scode.digitalsignature D/ChoosePqRev: number pPi = 439 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 149 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-8
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597394598459
waktu sekarang : 2020-08-14 16:43:18
Hours : 04
Min : 43
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 16
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+6
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+6 18:43:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 18 : 43 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+6]
4 // inisial
18 HOUR // H
43 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 72 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 67] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 54] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 72
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 54
id.scode.digitalsignature D/ChoosePqRev: number pPi = 367 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 257 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-9
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597394898464
waktu sekarang : 2020-08-14 16:48:18
Hours : 04
Min : 48
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 9
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-10
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-10 10:48:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 10 : 48 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-10]
4 // inisial
10 HOUR // H
48 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 40 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 59] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 74] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 40
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 74
id.scode.digitalsignature D/ChoosePqRev: number pPi = 179 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 379 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-10
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 0 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 0 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597395198467
waktu sekarang : 2020-08-14 16:53:18
Hours : 04
Min : 53
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 12
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT+2
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT+2 22:53:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 22 : 53 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT+2]
4 // inisial
22 HOUR // H
53 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 88 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 51] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 94] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 88
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 94
id.scode.digitalsignature D/ChoosePqRev: number pPi = 461 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 499 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
id.scode.digitalsignature D/OverviewRevActivity: Pembangkitan Ke-11
id.scode.digitalsignature D/OverviewRevActivity: waktu pembangkitan : 1 ms
id.scode.digitalsignature D/OverviewRevActivity: proses generate batas atas prima dan eliminasi : 6 ms
id.scode.digitalsignature D/PrimeNumberGenerate: [*]
===========================================
TIME_INIT
===========================================
default time : 1597395498476
waktu sekarang : 2020-08-14 16:58:18
Hours : 04
Min : 58
Sec : 18
===========================================
TIME_INIT
===========================================
id.scode.digitalsignature D/ChoosePqRev: deretan prima
arrayListPrimeNumber = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509]
result size arrayListPrimeNumber.size = 97
id.scode.digitalsignature D/ChoosePqRev: hasil sudoRandom 1 sampai arrayTime.size = 1
id.scode.digitalsignature D/ChoosePqRev: list gmt
arrayTime : [GMT-1, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT-10, GMT-11, GMT+1, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT+10, GMT+11, GMT+12, GMT+13]
pilihannya adalah arrayTime[sudoRandom] : GMT-2
id.scode.digitalsignature D/ChoosePqRev: convert time to GMT-2 02:58:19
id.scode.digitalsignature D/ChoosePqRev: outer check : 02 : 58 : 19
id.scode.digitalsignature D/ChoosePqRev: debug check
id.scode.digitalsignature D/ChoosePqRev: [*]
==============================================
TIME POSITION // Zona Lain
==============================================
[ GMT+8 //DEFAULT has change into GMT-2]
4 // inisial
2 HOUR // H
58 MIN // m
19 SEC // s
untuk Pindex = inisial * h = 8 // Pi
================================================
when position untuk Qindex // Qi
inisial (m*s) mod arrayListPrimeNumber.size <--- m < s [diisi = 43] // K1
inisial (m+s) mod arrayListPrimeNumber.size <--- m > s [diisi = 17] // K2
================================================
id.scode.digitalsignature D/ChoosePqRev: K0 timePosition Pi = 8
id.scode.digitalsignature D/ChoosePqRev: K2 timePosition Qi = 17
id.scode.digitalsignature D/ChoosePqRev: number pPi = 23 | where thePrime[timePositionPi]
id.scode.digitalsignature D/ChoosePqRev: number qQi = 61 | where thePrime[timePositionQi]
id.scode.digitalsignature D/CountPq: [*]
gcd ( p -1 , q - 1 )
G.C.D = 2 // the result should not big
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment