# Struct crypto::Sha3Hasher

> An incremental `content_hash`, for attachment files read in pieces.

`zaun_community_protocol::crypto::Sha3Hasher` · Struct

```rust
pub struct Sha3Hasher(…)
```

An incremental `content_hash`, for attachment files read in pieces.

## Methods

### `new`

```rust
pub fn new() -> Self
```

An empty hash.

### `update`

```rust
pub fn update(&mut self, bytes: &[u8])
```

Feeds `bytes`.

### `finalize`

```rust
pub fn finalize(self) -> [u8; 32]
```

The digest.

## Trait implementations

`Clone`, `Debug`, `Default`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/crypto/hash/struct.Sha3Hasher.html)
