[ Index ]

PHP Cross Reference of DokuWiki




/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ -> MontgomeryPublic.php (summary)

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

Defines 2 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

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

savePublicKey(MontgomeryCurve $curve, array $publicKey)   X-Ref
Convert an EC public key to the appropriate format

param: \phpseclib3\Crypt\EC\BaseCurves\Montgomery $curve
param: \phpseclib3\Math\Common\FiniteField\Integer[] $publicKey
return: string