Study on permutation polynomials over a ring of modulo 2w and their applications to cryptography