shasum (partial implementation)