All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.test.TestUnixCrypt

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----cryptix.util.test.BaseTest
                                           |
                                           +----cryptix.test.TestUnixCrypt

public class TestUnixCrypt
extends BaseTest
This class tests the cryptix.tools.UnixCrypt class (it may also fail if the DES implementation is incorrect).

Copyright © 1997, 1998 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1 $

Author:
David Hopwood

Constructor Index

 o TestUnixCrypt()

Method Index

 o engineTest()
Test that is run by distribution to make sure everything is OK!

This C test program will confirm (note that some systems don't implement straight crypt(3)).

 o main(String[])

Constructors

 o TestUnixCrypt
 public TestUnixCrypt()

Methods

 o main
 public static void main(String args[])
 o engineTest
 protected void engineTest() throws Exception
Test that is run by distribution to make sure everything is OK!

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));
    }
 

Overrides:
engineTest in class BaseTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index