> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
> Use this file to discover all available pages before exploring further.

# core::sha256::compute_sha256_byte_array

Computes the SHA-256 hash of the input `ByteArray`.

## Signature

```rust theme={null}
pub fn compute_sha256_byte_array(arr: ByteArray) -> [u32; 8]
```

## Examples

```rust theme={null}
use core::sha256::compute_sha256_byte_array;

```
