1 | Copyright Brightcove, Inc.
|
2 |
|
3 | Licensed under the Apache License, Version 2.0 (the "License");
|
4 | you may not use this file except in compliance with the License.
|
5 | You may obtain a copy of the License at
|
6 |
|
7 | http://www.apache.org/licenses/LICENSE-2.0
|
8 |
|
9 | Unless required by applicable law or agreed to in writing, software
|
10 | distributed under the License is distributed on an "AS IS" BASIS,
|
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 | See the License for the specific language governing permissions and
|
13 | limitations under the License.
|
14 |
|
15 | The AES decryption implementation in this project is derived from the
|
16 | Stanford Javascript Cryptography Library
|
17 | (http://bitwiseshiftleft.github.io/sjcl/). That work is covered by the
|
18 | following copyright and permission notice:
|
19 |
|
20 | Copyright 2009-2010 Emily Stark, Mike Hamburg, Dan Boneh.
|
21 | All rights reserved.
|
22 |
|
23 | Redistribution and use in source and binary forms, with or without
|
24 | modification, are permitted provided that the following conditions are
|
25 | met:
|
26 |
|
27 | 1. Redistributions of source code must retain the above copyright
|
28 | notice, this list of conditions and the following disclaimer.
|
29 |
|
30 | 2. Redistributions in binary form must reproduce the above
|
31 | copyright notice, this list of conditions and the following
|
32 | disclaimer in the documentation and/or other materials provided
|
33 | with the distribution.
|
34 |
|
35 | THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
|
36 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
37 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
38 | DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR CONTRIBUTORS BE
|
39 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
40 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
41 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
42 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
43 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
44 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
45 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
46 |
|
47 | The views and conclusions contained in the software and documentation
|
48 | are those of the authors and should not be interpreted as representing
|
49 | official policies, either expressed or implied, of the authors.
|