MDi JLib
1.7.4

com.microdeveloper.security.encryption
Class GenerateDesEncrypted

java.lang.Object
  extended by com.microdeveloper.security.encryption.GenerateDesEncrypted

public class GenerateDesEncrypted
extends Object

A simple command line tool for generating DesEncrypted passwords. To use simply pass the passkey and text to encrypt as the only arguments and the class will return the encrypted variant to the console.

For example:
java -classpath ./mdi170.jar com.microdeveloper.security.encryption.GenerateDesEncrypted foo bar

You should get this back:
Encrypted: ioPiEFdYkqI=
Decrypted: bar

Version:
1.0
Author:
Gregg Lagnese
See Also:
DesEncrypter

Constructor Summary
GenerateDesEncrypted()
          Creates a new instance of GenerateDesEncrypted
 
Method Summary
static void main(String[] args)
          Primary method that invokes the encryption and returns the results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateDesEncrypted

public GenerateDesEncrypted()
Creates a new instance of GenerateDesEncrypted

Method Detail

main

public static void main(String[] args)
Primary method that invokes the encryption and returns the results. It takes two arguments passphrase (passkey) and the text to encrypt. It echos both the encrypted text and the given text after encryption.

Parameters:
args - the command line arguments

MDi JLib
1.7.4

Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.