SHA224 Encrypt Online Tool






About SHA224 Encrypt Online Tool:

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

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

comic sha224

About SHA224:

SHA-224 is also called "Message Digest", SHA-224 is designed by The National Institute of Standards and Technology (NIST), it's a hash algorithm based on SHA-256. First, the SHA-256 value is calculated; Then, shorten the SHA-256 value to 224 bits.

More information about SHA224:

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

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

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

SHA224 Generator with Python (with package hashlib):

import hashlib

def sha224_generator(str):
    m = hashlib.sha224()
    m.update(str.encode())
    return m.hexdigest()
    

SHA224 Generator with Java (with package MessageDigest):

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

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

SHA224 Generator with Linux (with OpenSSL):

[email protected]:/var/log/apache2# openssl dgst -sha224 access.log
SHA224(access.log)= a3b5e07b5ce00e7caa0a2181029c05186ae098333196493a0202c96c