status-im / doubleratchet

The Double Ratchet Algorithm implementation in Go
MIT License
114 stars 14 forks source link

Use provided crypto in chains #2

Closed cammellos closed 6 years ago

cammellos commented 6 years ago

The code was not setting the provided crypto in the chains, so it would use the one provided for encryption but not for the chains, using the DefaultCrypto implementation and mixing the 2.