PluginProbe
Media Cloud Sync / 1.2.12
Media Cloud Sync v1.2.12
1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 All 34 releases
media-cloud-sync / includes / sdk / s3 / Aws / HashInterface.php

HashInterface.php in Media Cloud Sync 1.2.12, at includes/sdk/s3/Aws/HashInterface.php

27 lines 549 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Dudlewebs\WPMCS\s3\Aws;
4
5 /**
6 * Interface that allows implementing various incremental hashes.
7 */
8 interface HashInterface
9 {
10 /**
11 * Adds data to the hash.
12 *
13 * @param string $data Data to add to the hash
14 */
15 public function update($data);
16 /**
17 * Finalizes the incremental hash and returns the resulting digest.
18 *
19 * @return string
20 */
21 public function complete();
22 /**
23 * Removes all data from the hash, effectively starting a new hash.
24 */
25 public function reset();
26 }
27