Generated by JsDoc Toolkit 2.3.3-beta on Wed Nov 06 2013 17:43:37 GMT+0100 (MEZ)
HTML template: Codeview

Class sjcl.ecc.elGamal.secretKey


Extends sjcl.ecc.basicKey.secretKey.

Defined in: ecc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
sjcl.ecc.elGamal.secretKey(curve, exponent)
elGamal secretKey
Method Summary
Method Attributes Method Name and Description
 
dh(pk)
Diffie-Hellmann function
 
unkem(tag)
UnKem function of elGamal Secret Key
Methods borrowed from class sjcl.ecc.basicKey.secretKey:
get
Class Detail
sjcl.ecc.elGamal.secretKey(curve, exponent)
elGamal secretKey
Parameters:
curve
exponent
Method Detail
{bitArray} dh(pk)
Diffie-Hellmann function
Parameters:
{elGamal.publicKey} pk
The Public Key to do Diffie-Hellmann with
Returns:
{bitArray} diffie-hellmann result for this key combination.
{bitArray} unkem(tag)
UnKem function of elGamal Secret Key
Parameters:
{bitArray} tag
The Tag to decrypt.
Returns:
{bitArray} decrypted key.