Data type: Difference between revisions

Jump to navigation Jump to search
201 bytes added ,  5 March 2025
Line 137: Line 137:


Explain the conversion process from 224 bits to 56 characters for SHA-224's output. Conversion process:
Explain the conversion process from 224 bits to 56 characters for SHA-224's output. Conversion process:
* "Original output: 224 bits"
* Original output: 224 bits
* Every 4 bits converts to 1 hexadecimal character (hex character): 224 ÷ 4 = 56
* '''Text Representation (Hexadecimal)''': Every 4 bits converts to 1 hexadecimal character (hex character): 224 ÷ 4 = 56 Therefore, it requires 56 hexadecimal characters to represent
* Therefore, it requires 56 hexadecimal characters to represent
* '''Binary Storage Representation''': Every 8 bits equals 1 byte in binary storage: 224 ÷ 8 = 28 Therefore, it requires 28 bytes (binary(28)) to store efficiently
 


[https://zh.wikipedia.org/wiki/MD5 MD5]: {{exclaim}} Not recommended to use this function to secure passwords
[https://zh.wikipedia.org/wiki/MD5 MD5]: {{exclaim}} Not recommended to use this function to secure passwords

Navigation menu