cryptix.test
public class TestUnixCrypt extends BaseTest
Copyright © 1997, 1998
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
Method Summary | |
---|---|
protected void | engineTest()
Test that is run by distribution to make sure everything is OK!
|
static void | main(String[] args) |
This C test program will confirm (note that some systems don't implement straight crypt(3)).
#includemain() { const char *key = "CryptixRulez"; const char salt[] = {'o','k'}; printf("crypt(%s, %s) = %s\n", key, salt, crypt(key, salt)); }