If I call Cipher.getInstance("AES/NONE/PKCS5Padding"), then the returned Cipher object will have no mode. What is the use of creating a Cipher that has NONE as its mode? Might specifying "NONE" make it possible for me to have the Cipher use my implementation of a mode, rather than using one of the modes that included with Java? If so, how can I instruct the Cipher object to use an AES mode I have implemented?
Thank you very much.