I am using react in javascript and I try to encrypt array elements using a loop, then I want to push each result in an element of the new array, I use this code: