# Get Random String

When generating a password for the Link, its important that the password cannot be predicted in any way. Use this function to cryptographically generate a secure password. A string of min 16 chars is recommended.&#x20;

```javascript
const password = await peanut.getRandomString(16)
```
