which libraries do i need to import for this class
KeyGenerator kgen = KeyGenerator.getInstance("AES");
kgen.init(128);
if you dont want to spoon feed me atleast tell me how can i find out about the libraries myself. i use eclipse
which libraries do i need to import for this class
KeyGenerator kgen = KeyGenerator.getInstance("AES");
kgen.init(128);
if you dont want to spoon feed me atleast tell me how can i find out about the libraries myself. i use eclipse
You don't say where you got it from, etc., but Eclipse gives you hints based on what it can determine from your code and what code is it's libraries.
IIRC: Where you see the yellow exclamation double clicking that will give you a list based on what it thinks you meant (I find that it is right about 90% of the time) or (AFM) press F1 when the caret is on that line.