mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-25 14:31:51 +00:00
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
![]() |
import * as crypto from 'libp2p-crypto';
|
||
|
|
||
|
export async function generateEd25519Keys() {
|
||
|
return await crypto.keys.generateKeyPair('ed25519');
|
||
|
}
|