File: application/modules/extensions/aws/Aws/HashInterface.php

Recommend this page to a friend!
  Classes of Tran Tuan  >  Pretty PHP S3 Files Manager  >  application/modules/extensions/aws/Aws/HashInterface.php  >  Download  
File: application/modules/extensions/aws/Aws/HashInterface.php
Role: Application script
Content type: text/plain
Description: Initial
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 4 years ago
Size: 531 bytes
 

Contents

Class file image Download
<?php
namespace 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();
}


For more information send a message to info at phpclasses dot org.