~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/symmetric/IPad.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
 * IPad
 
3
 * 
 
4
 * An interface for padding mechanisms to implement.
 
5
 * Copyright (c) 2007 Henri Torgemane
 
6
 * 
 
7
 * See LICENSE.txt for full license information.
 
8
 */
 
9
package com.hurlant.crypto.symmetric
 
10
{
 
11
        import flash.utils.ByteArray;
 
12
        
 
13
        /**
 
14
         * Tiny interface that represents a padding mechanism.
 
15
         */
 
16
        public interface IPad
 
17
        {
 
18
                /**
 
19
                 * Add padding to the array
 
20
                 */
 
21
                function pad(a:ByteArray):void;
 
22
                /**
 
23
                 * Remove padding from the array.
 
24
                 * @throws Error if the padding is invalid.
 
25
                 */
 
26
                function unpad(a:ByteArray):void;
 
27
                /**
 
28
                 * Set the blockSize to work on
 
29
                 */
 
30
                function setBlockSize(bs:uint):void;
 
31
        }
 
32
}
 
 
b'\\ No newline at end of file'