com.atlassian.bamboo.security
Class StringEncrypter
java.lang.Object
com.atlassian.bamboo.security.StringEncrypter
public class StringEncrypter
- extends Object
This class provides a simple string data encrypter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myCipher
protected Cipher myCipher
myKeyFactory
protected SecretKeyFactory myKeyFactory
myKeySpec
protected DESedeKeySpec myKeySpec
StringEncrypter
public StringEncrypter()
throws EncryptionException
- Throws:
EncryptionException
encrypt
public String encrypt(String stringToEncrypt)
throws EncryptionException
- Throws:
EncryptionException
decrypt
public String decrypt(String stringToDecrypt)
throws EncryptionException
- Throws:
EncryptionException
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.