Documentation

MontgomeryPublic
in package

AbstractYes

Montgomery Public Key Handler

Tags
author

Jim Wigginton terrafrost@php.net

access

public

Table of Contents

Constants

IS_INVISIBLE  = true
Is invisible flag

Methods

load()  : array<string|int, mixed>
Break a public or private key down into its constituent components
savePublicKey()  : string
Convert an EC public key to the appropriate format

Constants

IS_INVISIBLE

Is invisible flag

public mixed IS_INVISIBLE = true
Tags
access

private

Methods

load()

Break a public or private key down into its constituent components

public static load(string $key[, string $password = '' ]) : array<string|int, mixed>
Parameters
$key : string
$password : string = ''

optional

Tags
access

public

Return values
array<string|int, mixed>

savePublicKey()

Convert an EC public key to the appropriate format

public static savePublicKey(Montgomery $curve, array<string|int, Integer$publicKey) : string
Parameters
$curve : Montgomery
$publicKey : array<string|int, Integer>
Tags
access

public

Return values
string

        
On this page

Search results