jrun.security
Class JRunCrypterImpl

java.lang.Object
  |
  +--jrun.security.JRunCrypterImpl
All Implemented Interfaces:
JRunCrypter

public class JRunCrypterImpl
extends java.lang.Object
implements JRunCrypter

Default implementation of JRunCrypter for password encryption. Uses UnixCrypt


Constructor Summary
JRunCrypterImpl()
           
 
Method Summary
 java.lang.String decrypt(java.lang.String encryptedText)
           
 java.lang.String encrypt(java.lang.String clearText)
           
static void main(java.lang.String[] args)
           
 boolean matches(java.lang.String encryptedText, java.lang.String clearText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRunCrypterImpl

public JRunCrypterImpl()
Method Detail

encrypt

public java.lang.String encrypt(java.lang.String clearText)
Specified by:
encrypt in interface JRunCrypter

decrypt

public java.lang.String decrypt(java.lang.String encryptedText)
Specified by:
decrypt in interface JRunCrypter

matches

public boolean matches(java.lang.String encryptedText,
                       java.lang.String clearText)
Specified by:
matches in interface JRunCrypter

main

public static void main(java.lang.String[] args)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.