Advertisement
Guest User

Untitled

a guest
Apr 15th, 2013
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. import java.io.IOException;
  2. import sun.misc.BASE64Decoder;
  3.  
  4. /**
  5. * @author Arno
  6. * @note Encryption String concats
  7. */
  8.  
  9. public class IPDecoder {
  10. public static String conConcat;
  11.  
  12. public static void main(String[] args) {
  13. IPDecoder.init();
  14. }
  15.  
  16. public static void init() {
  17. BASE64Decoder decoder = new BASE64Decoder();
  18. try {
  19. byte[] decodedBytes = decoder.decodeBuffer(client.encodedBytes);
  20. conConcat = new String(decodedBytes);
  21. } catch (IOException e) {
  22. e.printStackTrace();
  23. }
  24. }
  25.  
  26. public static String getCon() {
  27. return conConcat;
  28. }
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement