com.ibm.di.security
Class SecurityCrypto
java.lang.Object
com.ibm.di.security.SecurityCrypto
public class SecurityCrypto
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityCrypto
public SecurityCrypto(String keyPath)
throws Exception
- Throws:
Exception
SecurityCrypto
public SecurityCrypto(String keyPath,
String cipherAlg)
throws Exception
- Throws:
Exception
getDecrypted
public String getDecrypted(String input)
throws Exception
- Throws:
Exception
getEncrypted
public String getEncrypted(byte[] input)
throws Exception
- Throws:
Exception
encrypt
public byte[] encrypt(byte[] input)
throws Exception
- Throws:
Exception
decrypt
public byte[] decrypt(byte[] input)
throws Exception
- Throws:
Exception