[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/ -> PKCS1.php (summary)

"PKCS1" Formatted EC Key Handler PHP version 5

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: 77 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  load()
  saveParameters()

Functions
Functions that are not part of a class:

load($key, $password = '')   X-Ref
Break a public or private key down into its constituent components

return: array
param: string $key
param: string $password optional

saveParameters(BigInteger $prime, BigInteger $base, array $options = [])   X-Ref
Convert EC parameters to the appropriate format

return: string