def encrypt_cb_data(self, data, funding_address):
    funding_scripthash = bytes.fromhex(address_to_scripthash(funding_address))
    nonce = funding_scripthash[0:12]
    return chacha20_encrypt(key=self.backup_key, data=data, nonce=nonce)
def encrypt_cb_data(self, data, funding_address):
    funding_scripthash = bytes.fromhex(address_to_scripthash(funding_address))
    nonce = funding_scripthash[0:12]
    return chacha20_encrypt(key=self.backup_key, data=data, nonce=nonce)