org.openptk.crypto
Interface CryptoIF

All Known Implementing Classes:
AESCrypto, Crypto, DESCrypto, KeyGenCrypto, PBECrypto, TripleDESCrypto

public interface CryptoIF

Author:
Scott Fehrman, Sun Microsystems, Inc.

Method Summary
 java.lang.String decrypt(java.lang.String string)
           
 java.lang.String encrypt(java.lang.String string)
           
 java.lang.String getId()
           
 void setId(java.lang.String id)
           
 

Method Detail

decrypt

java.lang.String decrypt(java.lang.String string)
                         throws CryptoException
Parameters:
string - the encrypted value
Returns:
string the clear text value
Throws:
CryptoException

encrypt

java.lang.String encrypt(java.lang.String string)
                         throws CryptoException
Parameters:
string - the clear text value
Returns:
string the encrypted value
Throws:
CryptoException

getId

java.lang.String getId()
Returns:
String

setId

void setId(java.lang.String id)
Parameters:
id -


View/submit a bug or feature

For further API reference and developer documentation, see www.openptk.org. That documentation contains more detailed, developer-targeted descriptions, definitions of terms, workarounds, and working code examples.

Copyright (C) 2008-2012, Project OpenPTK. All Rights Reserved