public final class EncryptionHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
static byte[] | 
clear(byte[] bytes)
Clears the byte array by replacing each byte with a zero. 
 | 
static byte[] | 
encrypt(byte[] bytes)
Encrypts a byte array. 
 | 
public static final byte[] encrypt(byte[] bytes)
                            throws EncryptionServiceException
Encrypts a byte array.
A JMX client that invokes setter methods for encrypted attributes in WebLogic Server MBeans 
 does not need to invoke this encrypt(byte[] bytes) method: the MBean's 
 setter method is responsible for converting its parameter data to a byte array and encrypting 
 the data. 
bytes - A byte array.EncryptionServiceExceptionpublic static byte[] clear(byte[] bytes)
Clears the byte array by replacing each byte with a zero. .
bytes - A byte array.