|
|
|
|
|
|
Test
-
<script type="text/javascript" src="/library/com/oclib/javascript/lang/Root.js"></script>
-
<script type="text/javascript" src="Blowfish.js"></script>
-
var blowfish = new com.oclib.javascript.security.encryption.Blowfish();
-
document.write("className: "+blowfish.getClassName());
-
document.write("classNamespace: "+blowfish.getClassNamespace());
-
document.write("classCreated: "+blowfish.getClassCreated());
-
document.write("classCreator: "+blowfish.getClassCreator());
-
document.write("classLocation: "+blowfish.getClassLocation());
-
document.write("classIndexLocation: "+blowfish.getClassIndexLocation());
-
document.write("classVersion: "+blowfish.getClassVersion());
-
document.write("classVersionLocation: "+blowfish.getClassVersionLocation());
-
document.write("classVersionIndexLocation: "+blowfish.getClassVersionIndexLocation());
-
document.write("debugging: "+blowfish.getDebugging());
-
document.write("log: "+blowfish.getLog());
-
document.write("tracing: "+blowfish.getTracing());
-
document.write("init: "+blowfish.init("blablabla"));
-
e = blowfish.encrypt("yahooooooo!");
document.write("Encrypted \"yahooooooo!\" is \""+e+"\"");
-
d = blowfish.decrypt(e);
document.write("Decrypted \""+e+"\" is \""+d+"\"");
|
|
oclib.com,
oclib.net,
oclib.org,
oclib.ru,
openclasslibrary.ru,
openclasslibrary.com,
openclasslibrary.net,
openclasslibrary.org
|