ツール · 現代暗号技術
高エントロピー暗号鍵&UUID生成器
Web Crypto APIによる暗号学的に安全なランダム値の生成。偏りのないエントロピーをブラウザ上で即座に作成。
Prefer UUIDv7 Over UUIDv4 for B-Trees
Standard UUIDv4 is fully random, causing massive page splits and cache eviction in PostgreSQL / MySQL primary keys. UUIDv7 embeds a millisecond Unix timestamp in the high bits, retaining locality while preserving uniqueness.
Never Use Math.random() for Secrets
Standard pseudo-random number generators in programming languages are deterministic PRNGs
vulnerable to state recovery. Always invoke crypto.getRandomValues() for session
tokens, password salts, and API keys.
Hash API Keys Before Storing
Treat API keys with the same hygiene as passwords. Store only their SHA-256 hash in your database, displaying the raw secret only once at generation time to eliminate leak exposure on database dumps.