Générateur d'octets aléatoires
Generate cryptographically secure random bytes or integers. Gratuit, privé et 100% côté client.
Local only
Historique récent
Aucun historique
Utilisation
- Select mode: bytes or integer.
- For bytes: set length and output format.
- For integer: set min and max range.
- Copy the generated value.
Tâches utilisant cet outil
Générer cryptographic nonces correctly
Un nonce (nombre utilisé une fois) doit être unique per chiffrement sous le même clé. Apprendre quand en utiliser random vs counter nonces et le consequences de reuse. TÂCHE
Générer NanoIDs for compact unique identifiers
NanoID est un tiny, URL-sûr, unique ID generator. Smaller et faster than UUID, avec customizable alphabet et taille. TÂCHE
Générer prime numbers
Générer primes for cryptographic keys and number theory. Learn sieves, primality testing, and safe prime generation. TÂCHE
Générer a cryptographically secure random password
Créer un high-entropy mot de passe utilisant un cryptographically sûr random generator, avec control sur longueur et caractère sets. TÂCHE
Générer cryptographically secure session keys
Session clés doit être unpredictable et unique per session. Apprendre en générer them utilisant un CSPRNG et derive sub-clés avec HKDF. TÂCHE
Implémenter perfect forward secrecy (PFS)
PFS ensures ce compromising long-terme clés fait non reveal past session clés. Apprendre le ephemeral clé exchange motif ce rend ce possible. TÂCHE
Implement rate limiting en prevent brute-force attacks
Rate limiting caps le nombre de requests per time window, preventing brute-force, credential stuffing, et DoS attacks. Apprendre jeton bucket et sliding window algorithmes. TÂCHE
Prevent CSRF (Cross-Site Requête Forgery) attacks
CSRF tricks authenticated utilisateurs en submitting unwanted requests. Apprendre anti-CSRF tokens, SameSite cookies, et double-submit motifs. TÂCHE
Utiliser un cryptographically sûr pseudorandom nombre generator
CSPRNGs produce sortie indistinguishable de vrai randomness. Apprendre le correct APIs et pourquoi Math.random() est forbidden en sécurité contexts. TÂCHE
Utiliser Diffie-Hellman clé exchange
Diffie-Hellman allows two parties en establish un shared secret sur un insecure channel sans ever transmitting le secret itself. Le foundation de TLS clé exchange. TÂCHE
Utiliser ECDH pour clé exchange
ECDH (Elliptic Curve Diffie-Hellman) establishes shared secrets utilisant elliptic curves. Smaller clés, même sécurité comme DH. TÂCHE
Utiliser elliptic curves pour cryptography
Elliptic curve cryptography (ECC) provides le même sécurité comme RSA avec much smaller clés. Apprendre point operations et clé exchange. TÂCHE
Utiliser Shamir's Secret Sharing en diviser clés
Shamir's Secret Sharing splits un secret en n shares, any k de qui peut reconstruct it. Useful pour clé escrow, distributed custody, et eliminating single points de failure. TÂCHE
Questions fréquentes
- Are these numbers cryptographically secure?
- Yes. They use the Web Crypto API's getRandomValues, which provides cryptographically secure randomness.
- What formats are available?
- Hex, Base64, or raw bytes for random bytes mode. A range-bound integer for integer mode.
Outils associés
Générateur de mots de passe
Generate strong, cryptographically secure random passwords. Gratuit, privé et 100% côté client. OUTIL
Générateur d'UUID / ULID
Generate UUID v1, v4, v5, and ULID identifiers. Gratuit, privé et 100% côté client. OUTIL
Générateur HMAC
Generate HMAC (Keyed-Hash Message Authentication Code) with SHA-1/256/512. Gratuit, privé et 100% côté client. OUTIL