bips
bips copied to clipboard
bip-324: fix FSChaCha20 type error
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
.