hash algorithm is used for encryption?
A hash algorithm is a function that can be used to map out data of random size to data of fixed size. ... Just like the latter, security weaknesses in it means that it is no longer used SHA and SHA-1, organizations are using strong SHA-2 (256 bit) algorithm for the cryptographic purpose.