Last active
November 22, 2022 12:16
-
-
Save Zeemzo/af0d4a9b426aedb613fb7bac28250b04 to your computer and use it in GitHub Desktop.
Niftron-SDK Create Keypairs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NiftronConfig, NIFTRON, NiftronKeypair } from "niftron-sdk"; | |
-------------------- Niftron-SDK Configuration -------------------------- | |
// create asymmetricEncryption object | |
const asymmetricEncryption = new NIFTRON.utils.asymmetricEncryption(); | |
// create asymmetricEncryption object | |
let keypairAlice = NiftronKeypair.random(); | |
let keypairBob = NiftronKeypair.random(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment