Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

112 lines (85 sloc) 4.687 kb
------------ FOR unhosted.js, unhosted.php AND EXAMPLES: -----------------------
Copyright (C) 2010 Michiel de Jong michiel@unhosted.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
------------ FOR jsbn.js, rng.js AND prng.js: ---------------------------------
Taken from Tom Wu's JavaScript Big Numbers library
http://www-cs-students.stanford.edu/~tjw/jsbn/
/*
* Copyright (c) 2003-2005 Tom Wu
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
*
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* In addition, the following condition applies:
*
* All redistributions must retain an intact copy of this copyright notice
* and disclaimer.
*/
Address all questions regarding this license to:
Tom Wu
tjw@cs.Stanford.EDU
------------ FOR rijndael.js: -------------------------------------------------
Taken from Fritz Schneider's Rijndael Reference Implementation
http://javascript.about.com/library/blencrypt.htm
/* rijndael.js Rijndael Reference Implementation
Copyright (c) 2001 Fritz Schneider
This software is provided as-is, without express or implied warranty.
Permission to use, copy, modify, distribute or sell this software, with or
without fee, for any purpose and by any individual or organization, is hereby
granted, provided that the above copyright notice and this paragraph appear
in all copies. Distribution as a part of an application or binary must
include the above copyright notice in the documentation and/or other materials
provided with the application or distribution.
Note that the following code is a compressed version of Fritz's code
and is only about one third the size of his original
compressed version courtesy of Stephen Chapman http://javascript.about.com/
*/
------------ FOR sha1.js: -----------------------------------------------------
Taken from Schwarz Lanzenreiter's javascript resources page
http://user1.matsumoto.ne.jp/~goma/js/sha1.js
Main page: http://user1.matsumoto.ne.jp/~goma/
Copyright (C) 2002-2006 kerry, All Rights Reserved.
No license statement found (the web is in Japanese). The author seems to be
kerry_ma06@hotmail.com. We contacted him/her on 15 December 2010 to ask about
licensing. Awaiting response.
------------ Further sources used: ---------------------------------------------
Although the following are not included in the distribution, they served us as
examples of how to get it all to work:
RSA-Sign JavaScript Library - an example of how to use Tom Wu's jsbn for RSA
signing and signature checking.
http://www9.atwiki.jp/kurushima/pub/jsrsa/
by Kenji Urushima, September 2010.
MIT license http://www9.atwiki.jp/kurushima/pub/jsrsa/LICENSE.txt
PidCrypt - an inspiring example of pure-JavaScript RSA used in production. In
the end we didn't use it in the project, but we did learn from looking at it.
https://www.pidder.com/pidcrypt/
by www.pidder.com / www.versaneo.de
GNU General Public License http://www.gnu.org/copyleft/gpl.html
Jump to Line
Something went wrong with that request. Please try again.