@Override public String decrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.decrypt64(str, passPhrase); }
@Override public String encrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.encrypt64(str, passPhrase); }
public MavenPlexusCipher() throws IllegalStateException { try { cipher = new PBECipher(); } catch (PlexusCipherException e) { throw new IllegalStateException("Unable to instantiate Cipher to decrypt Maven passwords"); } }
public MavenPlexusCipher() throws IllegalStateException { try { cipher = new PBECipher(); } catch (PlexusCipherException e) { throw new IllegalStateException("Unable to instantiate Cipher to decrypt Maven passwords"); } }
@Override public String encrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.encrypt64(str, passPhrase); }
@Override public String decrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.decrypt64(str, passPhrase); }
public MavenPlexusCipher() throws IllegalStateException { try { cipher = new PBECipher(); } catch (PlexusCipherException e) { throw new IllegalStateException("Unable to instantiate Cipher to decrypt Maven passwords"); } }
@Override public String encrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.encrypt64(str, passPhrase); }
@Override public String decrypt(final String str, final String passPhrase) throws PlexusCipherException { if (str == null || str.length() < 1) { return str; } return cipher.decrypt64(str, passPhrase); }