All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----cryptix.util.test.BaseTest
|
+----cryptix.test.TestUnixCrypt
Copyright © 1997, 1998
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
This C test program will confirm (note that some systems don't implement straight crypt(3)).
public TestUnixCrypt()
public static void main(String args[])
protected void engineTest() throws Exception
This C test program will confirm (note that some systems don't implement straight crypt(3)).
#include
main()
{
const char *key = "CryptixRulez";
const char salt[] = {'o','k'};
printf("crypt(%s, %s) = %s\n",
key, salt, crypt(key, salt));
}
All Packages Class Hierarchy This Package Previous Next Index