All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ulisesbocchio.jasyptspringboot.encryptor.SimpleGCMStringEncryptor Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package com.ulisesbocchio.jasyptspringboot.encryptor;

/**
 * {@link org.jasypt.encryption.StringEncryptor} version of {@link SimpleAsymmetricByteEncryptor} that just relies on
 * delegation from {@link ByteEncryptorStringEncryptorDelegate} and provides a constructor for {@link SimpleAsymmetricConfig}
 *
 * @author Ulises Bocchio
 */
public class SimpleGCMStringEncryptor extends ByteEncryptorStringEncryptorDelegate {

    public SimpleGCMStringEncryptor(SimpleAsymmetricByteEncryptor delegate) {
        super(delegate);
    }

    public SimpleGCMStringEncryptor(SimpleGCMConfig config) {
        super(new SimpleGCMByteEncryptor(config));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy