tikhomirov@685: Copyright (c) 2006 - 2010 Christian Plattner. All rights reserved. tikhomirov@685: tikhomirov@685: Redistribution and use in source and binary forms, with or without tikhomirov@685: modification, are permitted provided that the following conditions tikhomirov@685: are met: tikhomirov@685: tikhomirov@685: a.) Redistributions of source code must retain the above copyright tikhomirov@685: notice, this list of conditions and the following disclaimer. tikhomirov@685: b.) Redistributions in binary form must reproduce the above copyright tikhomirov@685: notice, this list of conditions and the following disclaimer in the tikhomirov@685: documentation and/or other materials provided with the distribution. tikhomirov@685: c.) Neither the name of Christian Plattner nor the names of its contributors may tikhomirov@685: be used to endorse or promote products derived from this software tikhomirov@685: without specific prior written permission. tikhomirov@685: tikhomirov@685: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" tikhomirov@685: AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE tikhomirov@685: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE tikhomirov@685: ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE tikhomirov@685: LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR tikhomirov@685: CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF tikhomirov@685: SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS tikhomirov@685: INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN tikhomirov@685: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) tikhomirov@685: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE tikhomirov@685: POSSIBILITY OF SUCH DAMAGE. tikhomirov@685: tikhomirov@685: tikhomirov@685: This software includes work that was released under the following license: tikhomirov@685: tikhomirov@685: Copyright (c) 2005 - 2006 Swiss Federal Institute of Technology (ETH Zurich), tikhomirov@685: Department of Computer Science (http://www.inf.ethz.ch), tikhomirov@685: Christian Plattner. All rights reserved. tikhomirov@685: tikhomirov@685: Redistribution and use in source and binary forms, with or without tikhomirov@685: modification, are permitted provided that the following conditions tikhomirov@685: are met: tikhomirov@685: tikhomirov@685: a.) Redistributions of source code must retain the above copyright tikhomirov@685: notice, this list of conditions and the following disclaimer. tikhomirov@685: b.) Redistributions in binary form must reproduce the above copyright tikhomirov@685: notice, this list of conditions and the following disclaimer in the tikhomirov@685: documentation and/or other materials provided with the distribution. tikhomirov@685: c.) Neither the name of ETH Zurich nor the names of its contributors may tikhomirov@685: be used to endorse or promote products derived from this software tikhomirov@685: without specific prior written permission. tikhomirov@685: tikhomirov@685: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" tikhomirov@685: AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE tikhomirov@685: IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE tikhomirov@685: ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE tikhomirov@685: LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR tikhomirov@685: CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF tikhomirov@685: SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS tikhomirov@685: INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN tikhomirov@685: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) tikhomirov@685: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE tikhomirov@685: POSSIBILITY OF SUCH DAMAGE. tikhomirov@685: tikhomirov@685: tikhomirov@685: The Java implementations of the AES, Blowfish and 3DES ciphers have been tikhomirov@685: taken (and slightly modified) from the cryptography package released by tikhomirov@685: "The Legion Of The Bouncy Castle". tikhomirov@685: tikhomirov@685: Their license states the following: tikhomirov@685: tikhomirov@685: Copyright (c) 2000 - 2004 The Legion Of The Bouncy Castle tikhomirov@685: (http://www.bouncycastle.org) tikhomirov@685: tikhomirov@685: Permission is hereby granted, free of charge, to any person obtaining a copy tikhomirov@685: of this software and associated documentation files (the "Software"), to deal tikhomirov@685: in the Software without restriction, including without limitation the rights tikhomirov@685: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell tikhomirov@685: copies of the Software, and to permit persons to whom the Software is tikhomirov@685: furnished to do so, subject to the following conditions: tikhomirov@685: tikhomirov@685: The above copyright notice and this permission notice shall be included in tikhomirov@685: all copies or substantial portions of the Software. tikhomirov@685: tikhomirov@685: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR tikhomirov@685: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, tikhomirov@685: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE tikhomirov@685: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER tikhomirov@685: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, tikhomirov@685: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN tikhomirov@685: THE SOFTWARE. tikhomirov@685: