import CodeBlock from '@theme/CodeBlock';
import generate_seed from '!!raw-loader!../../../../../bindings/nodejs/examples/02_generate_seed.js';

You can generate a seed, for example, using the SHA256 algorithm on some random input generated by a cryptographically
secure pseudo-random generator, such as `crypto.randomBytes()`:

<CodeBlock className="language-javascript">
  {generate_seed}
</CodeBlock>

**Output example**:

```plaintext
39bccf7b88a8017e6a96e6f31e34f138829c574dc6061523e84c5f2e53f5ca36
pass phrase weapon yellow diary scissors gift drive strategy antique scheme make surround aerobic mystery coral hope lock walnut become exclude only glove syrup
eff5c97c96ddab55d6fe78f914508750152eaab1b9692236bc79268895ecfd168e91eedd2489ed6c51fc44156b9a2e6c967e4edcfb649ff33d41581be4627347
```
