SHA256 Hash Check (XSHA256) - KB Article #2050Related Articles -- 2051, 2049, 2048, 1485
The XSHA256 command asks the server to perform a cyclic redundancy check using the SHA256 algorithm on the specified file. If the XSHA256 command is supported, the server will respond with the result of the calculation. FTP clients can use this command to verify that the file was transferred without corruption by comparing the server's response with its own calculation.
The SHA-2 algorithm operates by first breaking down the file into 512-byte blocks, then padding the last block so that it is also 512 bites in length. The algorithm then creates performs a mathematical function on each block using a word size of 32-bits and adds them to the final hash value. XSHA256 is distinguished by its use of 256-bit output values.