com.ohadr.crypto.interfaces.ICryptoUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-crypto Show documentation
Show all versions of common-crypto Show documentation
parent POM for authentication projects.
The newest version!
package com.ohadr.crypto.interfaces;
import java.security.Key;
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
public interface ICryptoUtil
{
public String encryptAndBase64(byte[] data, Key key);
public byte[] decryptBase64(String base64andEncrypted, Key key) throws IllegalBlockSizeException,
BadPaddingException;
public Key getCryptoKey(String seed);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy