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

com.ohadr.crypto.interfaces.ICryptoUtil Maven / Gradle / Ivy

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