CRYPTOGRAPHIC ORACLE FOR BYTES, RANDOMNESS & ADDRESSES

Numbers become
addresses.

COBRA is a free, open-source Bitcoin cryptography playground for generating randomness and understanding how private keys become public addresses.

Built from the Bitcoin Address Generator research repository · by ol-s-cloud
Local-first secretssecp256k1ECDSASHA-256RIPEMD-160Base58CheckOpen source
THE DESERT / MARS TEST

If you were stranded in a desert — or on another planet — Bitcoin would not need to issue you an account.

In principle, a valid secret number plus the Bitcoin derivation rules is enough to reconstruct its corresponding address. Human-created “random” numbers are not secure enough for real funds, however. COBRA demonstrates the mathematics; secure wallet software uses cryptographically strong entropy.

Educational and experimental software.COBRA can derive mathematically valid Bitcoin addresses, but it is not a wallet provider, custodian, exchange, recovery service or financial service. Never use demonstration keys for material funds.
ORACLE 01

Cryptographic random generator

Create integers, hexadecimal strings, raw bytes and UUIDs from your browser's cryptographically secure random source.

OUTPUT
Click “Generate random value”.
THE METHOD

Private key → public key → hash → address.

COBRA follows the original project methodology: valid 256-bit scalar → secp256k1 public key → SHA-256 → RIPEMD-160 → Bitcoin mainnet version byte → double-SHA-256 checksum → Base58Check address.

The current browser engine reimplements that method in JavaScript. The original Python implementation and historical Colab notebook remain separate and preserved as the project's research provenance.

RESEARCH TERMINAL

The code, curve and derivation chain behind COBRA.

These visuals and references come from the original Bitcoin Address Generator repository. The web product exposes the underlying cryptographic method rather than hiding it behind a single button.

ol-s-cloud / bitcoin-address-generator
$ pip install bitcoin-address-generator

from bitcoin_address_generator import generate_wallet

private_key, public_key, address = generate_wallet()
print(f"Bitcoin Address: {address}")

# methodology
entropy → private key
private key × secp256k1 generator point → public key
SHA-256 → RIPEMD-160 → version byte
→ double-SHA-256 checksum → Base58Check → P2PKH address
View the full source on GitHub ↗
ELLIPTIC CURVE CORE

secp256k1

The private key is a scalar. The corresponding public key is produced by elliptic-curve scalar multiplication on secp256k1 — the curve used by Bitcoin.

y² = x³ + 7 mod p
Public key = private scalar × generator point G
GkG
TWO IMPLEMENTATIONS, ONE METHOD
LIVE

Browser engine

Runs locally in JavaScript using the browser cryptographic RNG and pinned cryptographic libraries. Private keys do not need to leave the device.

ORIGINAL

Python research lineage

The repository's Python package and 2023 notebook demonstrate the same address-construction chain using Python, ECDSA, hashlib and Base58.

Open original notebook ↗
WHERE DOES THE ADDRESS GO?

Nowhere. Until someone pays it.

Generating an address does not register an account with COBRA or Bitcoin. If bitcoin is later sent to it, the transaction/output becomes visible on the Bitcoin network. Control comes from the corresponding private key.

1

Keep the secret

The private key — often represented as WIF for import — enables spending.

2

Recover with compatible wallet software

A compatible wallet can import or sweep the private key/WIF and discover spendable outputs associated with it.

3

Lose the key, lose control

COBRA intentionally stores no recovery copy. There is no COBRA password reset for a standalone Bitcoin private key.

YOUR COBRA GENERATION LOG

Public addresses. Private secrets stay private.

This browser keeps a local log of addresses generated on this device. Every record links directly to the corresponding Bitcoin address on Blockchain.com Explorer. Private keys and WIFs are never placed in the log.

Generate a Bitcoin address to begin your local activity log.
Next layer: a true cross-user COBRA live feed requires a small persistent backend. That future registry should remain opt-in and store only public addresses, timestamps and derivation metadata — never private keys.
ORIGINAL RESEARCH · 2023

Built on the original notebook.

The project originated during postgraduate study in Finance & Data Analytics as an exploration of blockchain technologies, cryptographic keys and Bitcoin address construction. The historical notebook remains untouched in the repository; COBRA does not imply university endorsement or custody of user funds.

COBRA by ol-s-cloud · modern web interface built directly on the original Bitcoin Address Generator repository.

TECHNICAL & ACADEMIC REFERENCES

Built on documented cryptography.

BUILD WITH COBRA

Building something brilliant on Bitcoin?

The free web tools remain open. Developers, researchers and teams can reach out to discuss future COBRA API/SDK access, licensed integrations, cryptographic utilities or ways COBRA can contribute to your project.

The API is not publicly launched yet. That is intentional: access, rate limits, licensing and safe handling of cryptographic operations should be designed before opening it broadly.

OPEN SOURCE · BY OL-S-CLOUD

Learn from it. Fork it. Improve it.

COBRA is an open-source evolution of the original Bitcoin Address Generator repository. The source, methodology, notebook history and contributions remain visible on GitHub.