Back to Blog
cryptography·

Generate MD5 and SHA Hashes in 5 Languages

Code examples for generating MD5, SHA-1, SHA-256 and SHA-512 hashes in Python, JavaScript, Node.js, PHP, Java and Go. Every snippet is ready to copy and run.

sha256sha512md5hashingpythonjavascriptcryptography

Try it yourself

Put these concepts into practice with the free online tool on DevGizmo.