Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 295 for /trunk/Java/core/Anywhere/src/org/litesoft/encryption/symmetric/BrainDeadSymmetricEncryptor.java

Diff revisions: vs.
  @@ -140,4 +140,13 @@
140 140 throw new DecryptFailureException( (char) pChar, this.getClass() );
141 141 }
142 142 }
143 +
144 + public static void main( String argv[] )
145 + throws Exception
146 + {
147 + BrainDeadSymmetricEncryptor zBrainDeadSymmetricEncryptor = new BrainDeadSymmetricEncryptor();
148 + System.out.println( UtilsCommon.toHex(
149 + (zBrainDeadSymmetricEncryptor.getIdentifierAndVersion() + ":" + zBrainDeadSymmetricEncryptor.encrypt( argv[0] )).getBytes() ) );
150 + }
143 151 }
152 +