Code example for NoSuchAlgorithmException

        String  mode)
        throws NoSuchAlgorithmException 
        throw new NoSuchAlgorithmException("can't support mode " + mode);
    protected void engineSetPadding( 
        String  padding)
    throws NoSuchPaddingException 
        throw new NoSuchPaddingException("Padding " + padding + " unknown.");
    protected void engineInit( 
        int                     opmode,
        Key                     key,
        AlgorithmParameterSpec  params,
        SecureRandom            random)
    throws InvalidKeyException, InvalidAlgorithmParameterException 
Connect your IDE to all the code out there  Get Codota for Java