# media-cloud-sync/1.2.12/includes/sdk/s3/Aws/HashInterface.php

Media Cloud Sync, version 1.2.12. 27 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.2.12/code/includes/sdk/s3/Aws/HashInterface.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.2.12/raw/includes/sdk/s3/Aws/HashInterface.php
- Modified: 2024-10-27T10:40:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.2.12/code/includes/sdk/s3/Aws/HashInterface.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\Aws;

/**
 * Interface that allows implementing various incremental hashes.
 */
interface HashInterface
{
    /**
     * Adds data to the hash.
     *
     * @param string $data Data to add to the hash
     */
    public function update($data);
    /**
     * Finalizes the incremental hash and returns the resulting digest.
     *
     * @return string
     */
    public function complete();
    /**
     * Removes all data from the hash, effectively starting a new hash.
     */
    public function reset();
}

```
