SHA-1 Hash of "Hello World"
The SHA-1 hash of "Hello World" is:
0a4d55a8d778e5022fab701977c5d840bbc486d0
Hash Properties
- Length: 40 characters
- Algorithm: SHA-1
- Input length: 11 characters
Code Examples
// JavaScript (Node.js)
const crypto = require('crypto');
crypto.createHash('sha1').update("Hello World").digest('hex');
// Output: "0a4d55a8d778e5022fab701977c5d840bbc486d0"
# Python
import hashlib
hashlib.sha1(b"Hello World").hexdigest()
# Output: "0a4d55a8d778e5022fab701977c5d840bbc486d0"
# Command line
echo -n "Hello World" | sha1sum
# Output: 0a4d55a8d778e5022fab701977c5d840bbc486d0
Security Note
Warning: SHA-1 is considered cryptographically weak. Use SHA-256 or better for security purposes.