Hi All,
I have written a java code for encryption of data. currently it is throwing the error as "no applicable constructor/method found for actual parameters [byte], [byte]. Candidates are byte org.springframework.security.crypto.util.Encodingutils.concatenate (byte[]). "
Can anyone please help.
I have already imported the below ones in the code.
import org.springframework.security.crypto.encrypt.BytesEncryptor;
import org.springframework.security.crypto.codec.Hex;
import org.springframework.security.crypto.encrypt.Encryptors;
import org.springframework.security.crypto.keygen.BytesKeyGenerator;
import org.springframework.security.crypto.keygen.KeyGenerators;
import org.springframework.security.crypto.util.EncodingUtils;
import java.io.UnsupportedEncodingException;
import org.owasp.esapi.ESAPI;