Community
    • Login

    Plugin convert problem

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 2 Posters 4.0k Views 1 Watching
    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.
    • Hakan ToptasH Offline
      Hakan Toptas
      last edited by

      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
      • chcgC Offline
        chcg
        last edited by

        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
        • Hakan ToptasH Offline
          Hakan Toptas
          last edited by

          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
          • Hakan ToptasH Offline
            Hakan Toptas
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • Hakan ToptasH Offline
              Hakan Toptas
              last edited by

              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
              • chcgC Offline
                chcg
                last edited by

                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
                • Hakan ToptasH Offline
                  Hakan Toptas
                  last edited by

                  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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors