Copyright (c) 2002 by Niels Ferguson. The author hereby grants a perpetual license to everybody to use this code for any purpose as long as the copyright message is included in the source code of this or any derived work. Yes, this means that you, your company, your club, and anyone else can use this code anywhere you want. You can change it and distribute it under the GPL, include it in your commercial product without releasing the source code, put it on the web, etc. The only thing you cannot do is remove my copyright message, or distribute any source code based on this implementation that does not include my copyright message. I appreciate a mention in the documentation or credits, but I understand if that is difficult to do. I also appreciate it if you tell me where and why you used my code. DISCLAIMER: As I'm giving away my work for free, I'm of course not going to accept any liability of any form. This code, or the Twofish cipher, might very well be flawed; you have been warned. This software is provided as-is, without any kind of warrenty or guarantee. And that is really all you can expect when you download code for free from the Internet.