


This method can calculate hash code for an input up to 2 128-1 bits. The output hash code for this is 384 bit (i.e. SHA-384 SHA-384 is the truncated version for SHA-512.This method of hash coding is not so commonly used because of it's out put bit size This method can calculate hash code for an input up to 2 64-1 bits. The output hash code for this is 224 bit. SHA-224 SHA-224 is the truncated version for SHA-256.The calculated hash code will be a 124 digit hexadecimal number. So, SHA-512 is stronger hashing than SHA-256. SHA-512 SHA-512, as the name suggests, is a 512 bit (64 bytes) hashing algorithm which can calculate hash code for an input up to 2 128-1 bits.

The calculated hash code will be a 64 digit hexadecimal number. SHA-256 SHA-256 is a 256 bit (32 bytes) hashing algorithm which can calculate hash code for an input up to 2 64-1 bits.Don't get confused when someone asks you for SHA-2 hash code. The term SHA-2 is misrepresented for SHA-256. It is otherwise called as Secure Hash Algorithm 2. SHA-2 is is the 2nd version of sha hash generator algorithm.
