[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Generic EC Key Parsing Helper functions PHP version 5
Author: | Jim Wigginton <[email protected]> |
Copyright: | 2015 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
File Size: | 554 lines (24 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
initialize_static_variables() X-Ref |
Initialize static variables |
setImplicitCurve(BaseCurve $curve) X-Ref |
Explicitly set the curve If the key contains an implicit curve phpseclib needs the curve to be explicitly provided param: \phpseclib3\Crypt\EC\BaseCurves\Base $curve |
loadCurveByParam(array $params) X-Ref |
Returns an instance of \phpseclib3\Crypt\EC\BaseCurves\Base based on the curve parameters param: array $params return: \phpseclib3\Crypt\EC\BaseCurves\Base|false |
extractPoint($str, BaseCurve $curve) X-Ref |
Extract points from a string Supports both compressed and uncompressed points param: string $str param: \phpseclib3\Crypt\EC\BaseCurves\Base $curve return: object[] |
encodeParameters(BaseCurve $curve, $returnArray = false, array $options = []) X-Ref |
Encode Parameters param: \phpseclib3\Crypt\EC\BaseCurves\Base $curve param: bool $returnArray optional param: array $options optional return: string|false |
useSpecifiedCurve() X-Ref |
Use Specified Curve A specified curve has all the coefficients, the base points, etc, explicitely included. A specified curve is a more verbose way of representing a curve |
useNamedCurve() X-Ref |
Use Named Curve A named curve does not include any parameters. It is up to the EC parameters to know what the coefficients, the base points, etc, are from the name of the curve. A named curve is a more concise way of representing a curve |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |