Migrate to eslint
This commit is contained in:
parent
0fe7e30398
commit
b4e9c278d3
27 changed files with 104 additions and 71 deletions
|
@ -5,7 +5,7 @@ import {
|
|||
verifySignature,
|
||||
} from 'curve25519-n';
|
||||
|
||||
export function keyPair() {
|
||||
export function keyPair(): Record<string, Buffer> {
|
||||
const privateKey = randomBytes(32);
|
||||
const { pubKey, privKey } = generateKeyPair(privateKey);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue