Code example for NullCipher

0
 
	private Cipher c;
	 
    protected void setUp() throws Exception { 
        super.setUp(); 
        c = new NullCipher();
    } 
 
	public void testGetAlgorithm() { 
		c.getAlgorithm();
	} 
 
	public void testGetBlockSize() { 
        assertEquals("Incorrect BlockSize", 1, c.getBlockSize());
	} 
 
	public void testGetOutputSize() { 
        assertEquals("Incorrect OutputSize", 111, c.getOutputSize(111));
	} 
 
	public void testGetIV() {