[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
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 |
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() |