1# MD Overview and Algorithm Specifications 2 3The message digest (MD) algorithm allows a fixed-length digest to be generated from data of arbitrary size by using the hash algorithm. The MD algorithm is also referred to as a hash algorithm or a one-way hash algorithm. 4 5 6When the same digest algorithm is used, the generated digest (hash value) has the following features: 7 8 9- The same message always results in the same hash value. 10 11- The digest generated is of the fixed length no matter the length of messages. (The digest length is determined by the algorithm used). 12 13- It is almost impossible to find two different messages with the same hash value. (The probability still exists, depending on the length of the digest.) 14 15 16## Supported Algorithms and Specifications 17 18The **Supported Type** column in the following table lists the algorithm to be used when an **Md** instance is created. 19 20| MD Algorithm| Supported Type| API Version| 21| -------- | -------- | -------- | 22| HASH | SHA1 | 9+ | 23| HASH | SHA224 | 9+ | 24| HASH | SHA256 | 9+ | 25| HASH | SHA384 | 9+ | 26| HASH | SHA512 | 9+ | 27| HASH | MD5 | 9+ | 28| HASH | SM3 | 10+ | 29