• Login
Community
  • Login

Plugin convert problem

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 2 Posters 3.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    Hakan Toptas
    last edited by Apr 13, 2018, 4:05 PM

    Hello,
    I am confused, could someone help?

    I have a string like this: hYjKHGD9LUCJWa0/S+I7i5WDWAg=
    I use Base64 Decode Plugin tool and get a string which does not paste here properly then I convert this value by ASCII -> HEX and get this result: 8588ca1c60fd2d408959ad3f4be23b8b95835808 which is correct.

    When I do the same with this string: jKF0hAiWY//CXGhYsiyIb/LIqJI=
    Base64 Decode works and I get a similar sting to upper one but when I use the converter ASCII -> HEX nothing happens.

    I tried same with some other strings and most of them works fine but some of them does not.
    Could this be a bug?

    Best
    Hakan Toptas, Istanbul

    1 Reply Last reply Reply Quote 1
    • C
      chcg
      last edited by Apr 13, 2018, 4:43 PM

      Are you using the Plugin Mime Tools (https://github.com/npp-plugins/mimetools ) for Base64 Decode?
      For ASCII->HEX you used the Converter Plugin?
      N++ in 32bit or 64bit version?

      What is the task you try to achieve?

      1 Reply Last reply Reply Quote 0
      • H
        Hakan Toptas
        last edited by Apr 13, 2018, 7:11 PM

        Yes I use Plugins/Mime Tools/Base64 Decode.
        Yes I use Plugins/Converter/ASCII -> HEX.
        N++ in 32bit. (Don’t know why)

        I try to hashcheck some big media files (DCP) before/after cloning.

        1 Reply Last reply Reply Quote 0
        • H
          Hakan Toptas
          last edited by Apr 13, 2018, 7:33 PM

          I guess I need a plugin to convert between Base64 and HEX directly if there is one.

          1 Reply Last reply Reply Quote 0
          • H
            Hakan Toptas
            last edited by Apr 13, 2018, 8:17 PM

            It looks like it is the xFF is causing the problem in the ASCII string.
            If I convert ff from hex to ascii I get xFF but I cannot convert xFF back to hex.

            1 Reply Last reply Reply Quote 0
            • C
              chcg
              last edited by Apr 14, 2018, 9:09 AM

              Converter could be found at https://github.com/npp-plugins/converter . You could create an issue there at https://github.com/npp-plugins/converter/issues .

              Would it not be sufficient to calc a md5 or sha1|sha2|sha3 sum over your files? MD5 is available also in N++ under tools.

              1 Reply Last reply Reply Quote 0
              • H
                Hakan Toptas
                last edited by Apr 15, 2018, 2:13 PM

                I checked the converter/issues, it was a known issue and they cannot solve I guess.

                I tried different sums but sum1 seems to be the correct one.
                Best

                1 Reply Last reply Reply Quote 0
                4 out of 7
                • First post
                  4/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors