Statistics for Combinatorial aspects of braids with applications to cryptography