bips icon indicating copy to clipboard operation
bips copied to clipboard

bip-324: fix FSChaCha20 type error

Open jamesob opened this issue 1 year ago • 5 comments

The FSChaCha20 class, as written in the BIP's pseudocode, doesn't have an encrypt() method (even though the equivalent class in bip-0324/reference.py does), so use crypt() to be clear that we're not using FSChaCha20Poly1305 for peer.send_L.

jamesob avatar Jul 14 '23 19:07 jamesob