public class EncodePassword
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
encPw
The encoded string
|
protected int |
len
the password length
|
protected java.lang.String |
pw
The password string
|
Constructor and Description |
---|
EncodePassword()
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
EncodeString(java.lang.String pw)
The Encode Password String Method
|
protected java.lang.String |
hexString(int i)
Generates hex string of len 2 of an integer
which has only the least 8 bits meaningful...
|
static void |
main(java.lang.String[] args)
The main startup method.
|
protected java.lang.String pw
protected java.lang.String encPw
protected int len
public java.lang.String EncodeString(java.lang.String pw)
pw
- the password input stringprotected java.lang.String hexString(int i)
integer
- input.public static void main(java.lang.String[] args)
Command
- line arguments.