Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`protected Cipher` | `myCipher`
`protected SecretKeyFactory` | `myKeyFactory`
`protected DESedeKeySpec` | `myKeySpec`

Constructor Summary
`StringEncrypter()`

Method Summary
`String` | `decrypt(String stringToDecrypt)`
`String` | `encrypt(String stringToEncrypt)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### myCipher

    protected Cipher myCipher

### myKeyFactory

    protected SecretKeyFactory myKeyFactory

### myKeySpec

    protected DESedeKeySpec myKeySpec

Constructor Detail

### StringEncrypter

    public StringEncrypter()
                    throws EncryptionException

Throws:
  `EncryptionException`

Method Detail

### encrypt

    public String encrypt(String stringToEncrypt)
                   throws EncryptionException

  Throws:
    `EncryptionException`

### decrypt

    public String decrypt(String stringToDecrypt)
                   throws EncryptionException

  Throws:
    `EncryptionException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.