Recently I implemented some basic cryptographic protocols. One of them is Diffie-Hellman key exchange protocol where only necessity is that the communication channel implements serialize and deserialize methods. Initially, I thought I would only need to import Serialization
within my module, but soon I found myself in a situation where I needed to import my custom serializer within Diffie-Hellman module. That makes the module DiffieHellman
more and more specialized where instead, I would like to strive for inclusiveness and compatibility.
How can I solve this issue? More precisely, how can I make the code DiffieHelmman.jl not to depend on SecureIO
or Serialization
and make modifications for the tests runtests.jl to work?