Statistics for Chaos synchronization and its application to secure communication