The Asymmetric Key Generator is a utility for generating Ed25519 and RSA asymmetric key pairs (private and public keys) used for authenticating and signing requests to Binance APIs.
It is commonly used when working with asymmetric authentication, such as FIX APIs or REST /
WebSocket APIs that support RSA or Ed25519 signatures.
For source code, releases, and updates, see the asymmetric-key-generator repository on GitHub.
Supported key types
The tool can generate the following key types:
- Ed25519 (PKCS#8)
- RSA-2048
- RSA-4096
⚠️ Important
Some Binance APIs (for example FIX APIs) require Ed25519 keys.
RSAkeys are supported only by APIs that explicitly allowRSAauthentication.
Supported environments
- Desktop environments (macOS, Windows, Linux) via prebuilt apps
- Node.js (for CLI and local builds)
Installation options
You can use the tool in three different ways, depending on your workflow.
Option 1: Download prebuilt application (recommended)
Prebuilt desktop applications are available on the GitHub Releases page. After downloading, verify the package integrity using the provided checksum:
Code
If successful, the output will indicate OK.
Option 2: Build from source
Clone the repository and build the application locally:
Code
Option 3: Command-line usage
The generator can also be used as a CLI tool.
Install dependencies:
Code
Generate key pairs:
Code
Examples
Generate a single RSA-2048 key pair:
Code
Generate two Ed25519 key pairs with a passphrase:
Code
UI usage
The desktop application provides a simple graphical interface:
- Open the application
- Select the key type (
Ed25519is recommended in most cases) - Click Generate Key Pair
- Save the private key securely (never share it)
- Save the public key to upload or distribute as required
Typical use cases
- Generating
Ed25519keys for Binance FIX APIs - Generating
RSAkeys for REST or WebSocket APIs that support asymmetric authentication - Rotating API credentials securely
- Local development and testing of signed API requests
Security best practices
- Never share your private key
- Store private keys securely on disk or in a secrets manager
- Use passphrases where supported
- Upload only the public key to Binance
- Rotate keys periodically and revoke unused credentials