import javax.crypto.Cipher;
public class MainClass {
public static void main(String[] args) throws Exception {
Cipher cipher = Cipher.getInstance("Blowfish/ECB/NoPadding");
System.out.println(cipher.getProvider());
cipher = Cipher.getInstance("Blowfish/ECB/NoPadding", "BC");
System.out.println(cipher.getProvider());
}
}
|