Function
| Static Public Summary | ||
| public |
async RSASetup(): * function for init rsa instance in browser |
|
| public |
RSASetup(): * function for init rsa instance in node |
|
Static Public
public async RSASetup(): * source
import RSASetup from 'wasm-rsa/src/index.browser.ts'function for init rsa instance in browser
Return:
| * |
Example:
// Promise syntax
RSASetup().then(rsaInstance => {
// code...
})
// Async/Await syntax
const rsaInstance = await RSASetup()
public RSASetup(): * source
import RSASetup from 'wasm-rsa/src/index.node.ts'function for init rsa instance in node
Return:
| * |
Example:
// Promise syntax
RSASetup().then(rsaInstance => {
// code...
})
// Async/Await syntax
const rsaInstance = await RSASetup()
