---
title: Generate a Seed
description: 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().
image: /img/logo/iota_mark_light.png
keywords:
- how to
- seed
- private key
- address
- online seed generator
- ed25519 signature scheme
- java
- nodejs
- python
- rust
- wasm
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import KeyConceptSeeds from '../_admonitions/_explanation_seeds.md';
import AvoidSeedGenerators from '../_admonitions/_avoid_seed_generators.md';
import WalletRecommendation from '../_admonitions/_wallet_transaction_recommendation.md';
import JavaGenerateSeed from '../libraries/java/examples/_02_generate_seed.mdx';
import NodejsGenerateSeed from '../libraries/nodejs/examples/_02_generate_seed.mdx';
import PythonGenerateSeed from '../libraries/python/examples/_02_generate_seed.mdx';
import RustGenerateSeed from '../libraries/rust/examples/_02_generate_seed.mdx';
import WasmGenerateSeed from '../libraries/wasm/examples/_02_generate_seed.mdx';

<KeyConceptSeeds />

<AvoidSeedGenerators />

<Tabs groupId="language">
    <TabItem value="java" label="Java">
        <JavaGenerateSeed/>
    </TabItem>
    <TabItem value="nodejs" label="Nodejs">
        <NodejsGenerateSeed/>
    </TabItem>
    <TabItem value="python" label="Python">
        <PythonGenerateSeed/>
    </TabItem>
    <TabItem value="rust" label="Rust">
        <RustGenerateSeed/>
    </TabItem>
    <TabItem value="wasm" label="Wasm">
        <WasmGenerateSeed/>
    </TabItem>
</Tabs>

**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
```

<WalletRecommendation />