add a binary encryption serializer