Documentation

MontgomeryPrivate.php

Montgomery Private Key Handler

"Naked" Curve25519 private keys can pretty much be any sequence of random 32x bytes so unless we have a "hidden" key handler pretty much every 32 byte string will be loaded as a curve25519 private key even if it probably isn't one by PublicKeyLoader.

"Naked" Curve25519 public keys also a string of 32 bytes so distinguishing between a "naked" curve25519 private key and a public key is nigh impossible, hence separate plugins for each

PHP version 5

Tags
category

Crypt

author

Jim Wigginton terrafrost@php.net

copyright

2015 Jim Wigginton

license

http://www.opensource.org/licenses/mit-license.html MIT License

link
http://phpseclib.sourceforge.net

Table of Contents

Classes

MontgomeryPrivate
Montgomery Curve Private Key Handler

        
On this page

Search results