samueltangz / swift-noise-protocol

Noise protocol implemented in Swift.
https://samueltangz.github.io/swift-noise-protocol/
MIT License
8 stars 4 forks source link

Expose initializer for KeyPair #24

Open Reiszecke opened 3 years ago

Reiszecke commented 3 years ago

I needed to quickly compare implementations with preset keys. Not sure how useful that is for others, your decision whether to merge.

samueltangz commented 3 years ago

Is the constructKeyPair function suffice for your use case? We can derive the public key from the secret key with this function.

Reiszecke commented 3 years ago

Now that's a weird one, I'm getting different public keys in different implementations which most likely should not be happening :x

I guess I should investigate this first, will update once I know more, thank you for your time mate