Completed primitive SHA-256 function