public class PBECipher extends Object
Modifier and Type | Field and Description |
---|---|
protected MessageDigest |
_digester |
protected static int |
CHUNK_SIZE |
protected static String |
CIPHER_ALG |
protected static String |
DIGEST_ALG |
protected static String |
KEY_ALG |
protected static int |
PBE_ITERATIONS |
protected static int |
SALT_SIZE |
protected static int |
SPICE_SIZE |
protected static String |
STRING_ENCODING |
protected static byte |
WIPER |
Constructor and Description |
---|
PBECipher() |
protected static final String STRING_ENCODING
protected static final int SPICE_SIZE
protected static final int SALT_SIZE
protected static final int CHUNK_SIZE
protected static final byte WIPER
protected static final String DIGEST_ALG
protected static final String KEY_ALG
protected static final String CIPHER_ALG
protected static int PBE_ITERATIONS
protected MessageDigest _digester
public PBECipher() throws PlexusCipherException
PlexusCipherException
public String encrypt64(String clearText, String password) throws PlexusCipherException
PlexusCipherException
public String decrypt64(String encryptedText, String password) throws PlexusCipherException
PlexusCipherException
Copyright © 2008-2014 Sonatype, Inc.. All Rights Reserved.