[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ -> PrivateKey.php (summary)

EC Private Key

Author: Jim Wigginton
Copyright: 2015 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
Link: http://phpseclib.sourceforge.net
File Size: 256 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  multiply()
  sign()
  toString()
  getPublicKey()

Functions
Functions that are not part of a class:

multiply($coordinates)   X-Ref
Multiplies an encoded point by the private key

Used by ECDH

return: string
param: string $coordinates

sign($message)   X-Ref
Create a signature

return: mixed
param: string $message
see: self::verify()

toString($type, array $options = [])   X-Ref
Returns the private key

return: string
param: string $type
param: array $options optional

getPublicKey()   X-Ref
Returns the public key

return: mixed
see: self::getPrivateKey()