Chaos synchronization and its application to secure communication