> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function sha256_to_field

Module: `protocol_types::hash`

```rust
pub fn sha256_to_field<let N: u32>(bytes_to_hash: [u8; N]) -> Field
```
