A chaos-based approach to secure communications