SHA512 Encrypt Pro



Live Mode Switch




Related Pages: MD5 Encrypt, SHA1 Encrypt, SHA256 Encrypt.

About SHA512 Encrypt Pro:

This pro online sha512 encrypt tool helps you to encrypt one input string into a fixed 512 bits sha512 String.

Paste your Input String or drag text file in the first textbox, then press "SHA512 Encrypt" button, and the result will be displayed in the second textbox.

More information about SHA512:

RFC 4634: https://tools.ietf.org/html/rfc4634

Python Implementation of SHA512 (hashlib): https://docs.python.org/3/library/hashlib.html

Java Implementation of SHA512: https://docs.oracle.com/javase/7/docs/api/java/security/MessageDigest.html

PHP Implementation of SHA512: http://php.net/manual/en/function.hash.php

SHA512 Generator with Python (with package hashlib):

import hashlib

def sha512_generator(str):
    m = hashlib.sha512()
    m.update(str.encode())
    return m.hexdigest()
    

SHA512 Generator with Java (with package MessageDigest):

import java.math.BigInteger;
import java.security.MessageDigest;

public String generate(String str){
    MessageDigest md = MessageDigest.getInstance("SHA-512");
    md.update(str.getBytes());
    byte[] digest = md.digest();
    String result = new BigInteger(1, digest).toString(16).toUpperCase();
    return result;
}
    

SHA512 Generator with Linux (with OpenSSL):

[email protected]:/var/log/apache2# openssl dgst -sha512 access.log
SHA512(access.log)= 767b19c00aea95d53ccf1af4111ab320b14ac48af82f10d4e9984bc2fbe58d7cbe452230211811cf28eabeda4b96134f8654a89023f7ea2a1b722f49e966644f