change default sha256 to interpret string as hex. update tests to account for both hex and ascii strings