qosaelder.blogg.se

Notepad++ json viewer 64bit
Notepad++ json viewer 64bit






In the plugins menu, you should find an entry, called ' Encodings', that will contain two entries for every encoding algorithm you created (both the ones in external DLLs and the ones that you lazily put inside the Encodings DLL) Then, optionally, you may put here the algorithm DLL (one or m any) that contains the mentioned class inheriting from ' IEncoder'.Copy the ' Encoders.dll' in that folder.Create a new folder (named, for example, ' Encoders').Go to the Npp plugins folder: ' C:\Program Files\Notepad++\plugins'.I used the Base64 as an example because it is an encoding algorithm already provided by. Public string Decode( string encodedtext, string pass)īyte data = Convert.FromBase64String(encodedtext) String result = Convert.ToBase64String(data) Public string Encode( string cleartext, string pass)īyte data = (cleartext) The main part is made of the very simple interface IEncoder, and the way it is used in Main.cs. These classes may be found in the ' PluginInfrastructure' folder.

notepad++ json viewer 64bit

The backbone of this plugin is made by the standard plugin classes, automatically generated by the plugin template. The Notepad++ version used was Npp 8.3.3, 64bit. This Npp plugin was created by using the Npp plugin template v0.94.00:

notepad++ json viewer 64bit

  • a new DLL containing the algorithm I want to test, defined in a class inheriting a very simple interface (defined in the Npp plugin).
  • notepad++ json viewer 64bit

    Weird, right? So, now, when I want to test an algorithm, I need two things: Then I modified it (the Npp plugin), so that it allows his plugins too. So I thought: why don't I use Notepad++ as an interface? That's why I ended up writing a plugin for Notepad++ (which I'll address as Npp from here on). because an algorithm is fun, and the interface is not. Sometimes, that algorithm is related to cryptography or encoding and I want to try it directly without having to write an interface.








    Notepad++ json viewer 64bit