mirror of
https://github.com/0x5eal/wg-lua.git
synced 2025-01-06 03:19:09 +00:00
chore(README): updated method signature for generatePublicKey
This commit is contained in:
parent
f408f1559b
commit
618127c6b9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ print(wg:generatePublicKey(keypair.privateKey))
|
||||||
|
|
||||||
- #### Wireguard:generateKeypair() -> { publicKey: string, privateKey: string }
|
- #### Wireguard:generateKeypair() -> { publicKey: string, privateKey: string }
|
||||||
> Generates a wireguard keypair consisting of a public and private key.
|
> Generates a wireguard keypair consisting of a public and private key.
|
||||||
- #### Wireguard:generatePublicKey(privateKey: { number }) -> string
|
- #### Wireguard:generatePublicKey(privateKey: { number } | string) -> string
|
||||||
> Generates a wireguard public key, given a private key.
|
> Generates a wireguard public key, given a private key.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
Loading…
Reference in a new issue