mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 04:40:36 +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 }
|
||||
> 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.
|
||||
|
||||
## Development
|
||||
|
|
Loading…
Reference in a new issue