Class LECDSA
Liberty Eliptic Curve Algorithm. (from BitcoinECDSA, Jan Moritz Lindemann). Require GMP.
Copyright (C) Jan Moritz Lindemann.
Copyright (C) Liberty Group cryptolibertygroup@gmail.com.
Unlicense. Public Domain. http://unlicense.org/ This piece of software is provided without warranty of any kind, use it at your own risk.
Namespace: Liberty
Package: Liberty
Category: Cryptocurrency
License: Unlicense
Author: Liberty Group cryptolibertygroup@gmail.com, Jan Moritz Lindemann
Version: 1.0.0
Since: 2017-03-25
Located at Liberty/LECDSA.php
Package: Liberty
Category: Cryptocurrency
License: Unlicense
Author: Liberty Group cryptolibertygroup@gmail.com, Jan Moritz Lindemann
Version: 1.0.0
Since: 2017-03-25
Located at Liberty/LECDSA.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
#
getPrivatePrefix( )
Returns the current network prefix for WIF, '80' = main network, 'ef' = test network. |
public
|
|
public
|
|
public
string
|
|
public
string
|
#
generateRandom256BitsHexaString( )
Generates a random 256 bytes hexadecimal encoded string that is smaller than n |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
public
|
$k
|
|
public
|
$a
|
|
public
|
$b
|
|
public
|
$p
|
|
public
|
$n
|
|
public
|
$G
|
|
public
|
$networkPrefix
|