Codebase list libcryptx-perl / 8f62828
pod fix Karel Miko 10 years ago
1 changed file(s) with 5 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
373373 returns hash like this (or undef if no key loaded):
374374 {
375375 type => 1, # integer: 1 .. private, 0 .. public
376 qord => 30, # integer: order of the sub-group
377376 # all the rest are hex strings
378 g => "847E8896D12C9BF18FE283AE7AD58ED7F3...", #generator
379 p => "AAF839A764E04D80824B79FA1F0496C093...", #prime used to generate the sub-group
380 q => "D05C4CB45F29D353442F1FEC43A6BE2BE8...", #large prime that generats the field the contains the sub-group
381 x => "6C801901AC74E2DC714D75A9F6969483CF...", #private key
382 y => "8F7604D77FA62C7539562458A63C7611B7...", #public key
377 p => "AAF839A764E04D80824B79FA1F0496C093...", #prime modulus
378 q => "D05C4CB45F29D353442F1FEC43A6BE2BE8...", #prime divisor
379 g => "847E8896D12C9BF18FE283AE7AD58ED7F3...", #generator of a subgroup of order q in GF(p)
380 x => "6C801901AC74E2DC714D75A9F6969483CF...", #private key, random 0 < x < q
381 y => "8F7604D77FA62C7539562458A63C7611B7...", #public key, where y = g^x mod p
383382 }