()
| 23 | |
| 24 | } |
| 25 | public static CAESOperator getInstance(){ |
| 26 | if (instance==null) |
| 27 | instance= new CAESOperator(); |
| 28 | return instance; |
| 29 | } |
| 30 | |
| 31 | public String encrypt(String sSrc) throws Exception { |
| 32 | Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); |