MontgomeryPrivate
abstract class MontgomeryPrivate (View source)
Montgomery Curve Private Key Handler
Constants
| IS_INVISIBLE | Is invisible flag | 
Methods
                    static array
                
                
                    load(string $key, string $password = '')
        
                                            
                
            Break a public or private key down into its constituent components
                    static string
                
                
                    savePublicKey(Montgomery $curve, array $publicKey)
        
                                            
                
            Convert an EC public key to the appropriate format
                    static string
                
                
                    savePrivateKey(Integer $privateKey, Montgomery $curve, array $publicKey, string $password = '')
        
                                            
                
            Convert a private key to the appropriate format.
Details
        
                static            array
    load(string $key, string $password = '')
        
    
    Break a public or private key down into its constituent components
        
                static            string
    savePublicKey(Montgomery $curve, array $publicKey)
        
    
    Convert an EC public key to the appropriate format
        
                static            string
    savePrivateKey(Integer $privateKey, Montgomery $curve, array $publicKey, string $password = '')
        
    
    Convert a private key to the appropriate format.