encrypted send and listen works