I was developing a chatting app in iOS swift. I wanted to implement end to end encryption using signal protocol just like Whatsapp or some other chatting apps.
I read a few articles and searched internet. I just got idea how it works not how to implement it. What I got is that you need to create two keypairs for two users who are gonna chat with each other. In Each keypair, One is Public key and the other is a Private key. Private key is stored locally and public key is sent to server.
But I could not find a proper guideline or steps for implementation.
I have also tried looking in
https://medium.com/@ahmedcs1995/signal-protocol-implementation-in-ios-end-end-encryption-edb02d11268d
https://github.com/christophhagen/LibSignalProtocolSwift
Can anyone provide details or any reference link? Thanks




