{
  "$type": "site.standard.document",
  "content": {
    "$type": "site.subgraph.content.markdown",
    "body": "\nSometimes you just want to quickly generate a new wallet address without jumping through a bunch of hoops.\n\nProvided you have OpenSSL installed on your system, you can create a new private key in one simple command: `openssl rand -hex 32`\n\nThis will generate 32 random bytes in hexadecimal format, which can be used as a private key. The output will be a 64-character hexadecimal string, like this:\n\n```\ne1d4f2c8a1b9c3d4e5f6a7b8c9d1e2f3a4b5c6d7e8f9a1b2c3d4e5f6a7b8c9d0\n```\n\nYou can then use this private key to derive a public key and generate a wallet address. Just remember to keep your private key secure, anyone who has access to it can control your wallet and the associated funds.\n\n> [!IMPORTANT]\n> The private key used in this example is valid, but should not be used by anyone, as it has been shared publicly in this post.\n"
  },
  "description": "Create wallet addresses quickly with OpenSSL: just run `openssl rand -hex 32` to generate a secure private key. Remember to keep it safe!",
  "publishedAt": "2024-04-06T19:34:06.964Z",
  "site": "at://did:plc:p5xem22ammiafn5kxonaksfa/site.standard.publication/3mlp3ywhyv2kx",
  "tags": [
    "blockchain",
    "crypto",
    "wallet",
    "private-key",
    "openssl",
    "security",
    "web3"
  ],
  "textContent": "Sometimes you just want to quickly generate a new wallet address without jumping through a bunch of hoops.\n\nProvided you have OpenSSL installed on your system, you can create a new private key in one simple command: openssl rand -hex 32\n\nThis will generate 32 random bytes in hexadecimal format, which can be used as a private key. The output will be a 64-character hexadecimal string, like this:\n\ne1d4f2c8a1b9c3d4e5f6a7b8c9d1e2f3a4b5c6d7e8f9a1b2c3d4e5f6a7b8c9d0\n\nYou can then use this private key to derive a public key and generate a wallet address. Just remember to keep your private key secure, anyone who has access to it can control your wallet and the associated funds.\n\n[!IMPORTANT] The private key used in this example is valid, but should not be used by anyone, as it has been shared publicly in this post.",
  "title": "Generate a new private key"
}