The function provides a simple check sum by adding byte valued of binary data.
The function returns the simple check sum.