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