togotools.top technical reference
Technical reference
Compute MD5, SHA-1, SHA-256, and SHA-512 hashes and perform AES-GCM symmetric encryption and decryption, all locally in your browser. No data leaves your device.
Supported algorithms
| MD5 | 128-bit hash, insecure, checksum use only |
|---|---|
| SHA-1 | 160-bit hash, not recommended for security |
| SHA-256 | 256-bit hash, SHA-2 family, widely used |
| SHA-512 | 512-bit hash, SHA-2 family, high-security needs |
| AES-GCM | Symmetric encryption, requires 256-bit key and IV |
Example: SHA-256 hash
Hashing is a one-way function and cannot be reversed. AES-GCM is reversible encryption: decryption requires the correct key and IV. Keys should be generated with a cryptographically secure random number generator.
Input: hello
SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824Security limits
- MD5 and SHA-1 have known collision attacks. Do not use them for password storage or digital signatures.
- AES-GCM IV (initialization vector) must be unique per encryption. Reusing an IV breaks security.
- Clear input and output after use on shared or public computers to avoid residual sensitive data.
Frequently asked questions
Can a hash be decrypted?
No. Hashing is a one-way function. The original input cannot be recovered. Rainbow tables or brute-force attempts are not decryption.
How should I generate an AES-GCM key?
Use a cryptographically secure random generator (e.g. crypto.getRandomValues) to produce a 256-bit (32-byte) key. Do not use a short password directly as a key.