~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to third_party/websockify/include/web-socket-js/src/flash-src/third-party/com/hurlant/crypto/hash/IHMAC.as

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * HMAC
 
3
 * 
 
4
 * An ActionScript 3 interface for HMAC & MAC 
 
5
 * implementations.
 
6
 * 
 
7
 * Loosely copyrighted by Bobby Parker
 
8
 * 
 
9
 * See LICENSE.txt for full license information.
 
10
 */
 
11
package com.hurlant.crypto.hash
 
12
{
 
13
        import flash.utils.ByteArray;
 
14
        
 
15
        public interface IHMAC 
 
16
        {
 
17
                function getHashSize():uint;
 
18
                /**
 
19
                 * Compute a HMAC using a key and some data.
 
20
                 * It doesn't modify either, and returns a new ByteArray with the HMAC value.
 
21
                 */
 
22
                function compute(key:ByteArray, data:ByteArray):ByteArray;
 
23
                function dispose():void;
 
24
                function toString():String;
 
25
                
 
26
        }
 
27
}
 
 
b'\\ No newline at end of file'