Signcryption, MIRACL and Rust

Normally when we digitally sign something, we have to create a hash of the data, and then use the public key of the receipitant to encrypt…

Photo by Angela M. on Unsplash

Signcryption, MIRACL and Rust

Normally when we digitally sign something, we have to create a hash of the data, and then use the public key of the receipitant to encrypt it. So can we sign something at the same time as we encrypt it? Well, we can, and one of the first papers to define this was authored by Yuliang Zheng [here]:

Another interesting method was created by John Malone-Lee [here]:

The method basically uses crypto pairing, and uses crypto pairing mapping of:

And where we use a mapping of one elliptic curve, to another, and then to produce another elliptic curve. So let’s go ahead and implement the Malone-Lee method:

https://asecuritysite.com/rust/rust_miracl06