Generate passphrase

Created by Admin KL, Modified on Mon, 19 Feb at 8:38 AM by Admin KL

generate passphrase 


This can be generated to encrypt the wallet's private keys and other sensitive information. This encryption secures the wallet contents, making it inaccessible without the passphrase.


 /api/Utility/Generate-passphrase
Generate passphrase
Returns the passphrases in ful



ParametersHeader
Querymax*IntegerNumber of words to be generated
HeaderContent-Type*application/jsonapplication in JSON format


Responses
200: OKSuccess! Wallet information retrieved


Wallet passphrase with Javascript SDK

Liaas SDK package installation

/** 
 * Returns passphrase of specified length
 **/
 
 
 //pass your API key, wallet name, and the encrypted key
const response = await liaasSdk.generatePassphrase(max);

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article