EdDSA
in package
Table of Contents
Properties
- $curve : mixed
- $encodingLength : mixed
- $g : mixed
- $hash : mixed
- $pointClass : mixed
Methods
- __construct() : mixed
- decodeInt() : mixed
- decodePoint() : mixed
- encodeInt() : mixed
- encodePoint() : mixed
- * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2
- hashInt() : mixed
- isPoint() : mixed
- keyFromPublic() : mixed
- keyFromSecret() : mixed
- makeSignature() : mixed
- sign() : mixed
- verify() : mixed
Properties
$curve
public
mixed
$curve
$encodingLength
public
mixed
$encodingLength
$g
public
mixed
$g
$hash
public
mixed
$hash
$pointClass
public
mixed
$pointClass
Methods
__construct()
public
__construct(mixed $curve) : mixed
Parameters
- $curve : mixed
decodeInt()
public
decodeInt(mixed $bytes) : mixed
Parameters
- $bytes : mixed
decodePoint()
public
decodePoint(mixed $bytes) : mixed
Parameters
- $bytes : mixed
encodeInt()
public
encodeInt(mixed $num) : mixed
Parameters
- $num : mixed
encodePoint()
* https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2
public
encodePoint(mixed $point) : mixed
EdDSA defines methods for encoding and decoding points and integers. These are helper convenience methods, that pass along to utility functions implied parameters.
Parameters
- $point : mixed
hashInt()
public
hashInt() : mixed
isPoint()
public
isPoint(mixed $val) : mixed
Parameters
- $val : mixed
keyFromPublic()
public
keyFromPublic(mixed $pub) : mixed
Parameters
- $pub : mixed
keyFromSecret()
public
keyFromSecret(mixed $secret) : mixed
Parameters
- $secret : mixed
makeSignature()
public
makeSignature(mixed $sig) : mixed
Parameters
- $sig : mixed
sign()
public
sign(mixed $message, mixed $secret) : mixed
Parameters
- $message : mixed
- $secret : mixed
Tags
verify()
public
verify(mixed $message, mixed $sig, mixed $pub) : mixed
Parameters
- $message : mixed
- $sig : mixed
- $pub : mixed