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

Base64 Algorithm

Base64 relies on an encoding algorithm that describes some simple steps of converting data to Base64. And of course, since this is a reversible algorithm, you can decode Base64 into original data by simply reversing these steps. I think I’m not mistaken if I say that the simplicity of the algorithm was one of the reasons why Base64 became so popular and now it is used almost everywhere.

Of course, to get everything working properly, everyone must follow the algorithm steps given in a strict order. Therefore, if you want to know how Base64 works, I recommend reading these articles:

Comments (14)

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

  • Shellie,
    I am trying to decode this with no success. I only included a portion as the whole document is 25+ pages. If I need to include it all I will. When I try to decode Base64 I get a message that it is not Base64. I am out of options.

    The file name is several numbers followed by .txt.

    What kind of code is it?

    NPqoYQxKTMlDr77rItxiPR+d6O5XD0TmfoeRiUsmxJ+3DuRAfHBAuUcyQgBvpnaSZOQdfiyyqwB74q3r1OolFkPEG/jYPNYXNQuwEWK/+JrLShW5dhz79DrMMP2Xz5M0skeGbxWfkA0IiBA5zLPTWhJuCWH7GCX3Ydi07ZtZCs5yCL9dpZ6jEDEsxploGpiCAlP5bHA+2ppUKseAeNQ8um6JqiDlUde79/+VZ3dwXDuOQJUT9nsBrLwevAL9vYo9S3VID4za4TPuxQHWIuOwbnX2tvUCPR1F1/ymFdjUG3xisHjqN2WdwOoqVP9+aXIK3iOIhFhWQDn7rWA2ANEccRe1N3C5TadKNR6yc2sENSxjzhH1jlTd3xTD01sgbuYA5V9UHlC+DiLTOXlpkjUepH4yTzc0LjIQzwjC+18n5aaj670IB2/KzpUC3ep188G31v/4KEwE2a/Kd7uIZTGlRNtndhjJd8jMhJ5O1I7ZAlwkQdewa4u+6IBFfjEvl/5QSU8eQ5wWOvvBdMdEVnsEO51v9yZNn2o+378xE4cOvGGg5pp2NqI6fg2l7MtJ8NK1iAe3N7XibiQSlTzspTh8tuNcGbVo5O2HECAhwwJO5nJ1UKWzcenpQwaPLKalUpwotI2cBb/yshx8At9dbMK16br9/ocZFNCblY3VzVags0ef3vfr/ifEf5kxDmXHpQ1Nm1ykzHx/Ta5ZgTR07sTTHDn1S3JgiIRLpQcdd0IaWIqn+1m0vtG7JBY7PoGEEmlcpG8DgokNYABVRD2iObJbsNbA1/hJXZtCaxCaLhGKvhvJ5a1VdSlNVzHpV1LLnBzLxznV7dHQRLMlxGd+ifG3VCySETLhHzjACF/ZIlhm/MhjuMzJ+sbIqE1StIPkOzPO6wFYbWxeCXeY5Tp2l5c28RduPatyM6rfcW1/f1YtXNaP0l6EpFq2C6oaolLA9+d+Fx03NG8wFawuN2iSw+anaY/ev9QkCQRekUX6e2W1
    • Administrator,
      The string you provided is a valid Base64 string. Anyway, try to use the Repair Tool to fix your full string (it will inform you if it contains any invalid characters).
  • neda,
    best article thanks
  • nqhXncMU,
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • nqhXncMU,
    if(now()=sysdate(),sleep(15),0)
  • gBqsPxAZ,
    -5) OR 457=(SELECT 457 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    -1 OR 2+726-726-1=0+0+0+1
  • gBqsPxAZ,
    555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • nqhXncMU,
    -1)) OR 531=(SELECT 531 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1); waitfor delay '0:0:15' --
  • nqhXncMU,
    -1 OR 2+381-381-1=0+0+0+1
  • nqhXncMU,
    4X2oTdKr' OR 429=(SELECT 429 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    if(now()=sysdate(),sleep(15),0)
  • ncMUFCMU,
    -1 OR 2+559-559-1=0+0+0+1 --
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.