I've currently got a mixture of Stringgs and integers which i am trying to figure out the method to merge the values of each string together at N
Here is the three strings/intergers i've got:
EncryptedString: npQvFBdZQ4jD6bhAgekjPQ==
IV: Þá]ÕVâ×,娽kÜVü
Hash: 7
So, once merged the string would be: 41 characters in length.
Expected results would be something along the lines of:
7nÞpáq]vÕFVBâd×Z,qå4¨j½Dk6ÜbVhüAgekjPQ==
So, Hash is at the beginning of the array, peices of EncryptedString is every even iteration (2,4,6,8).. IV would be on every odd occourance (excluding 1 [So, 3,5,7,9]). Until the end of IV has been reached, so then the remainding of EncryptedString would be appended to the end of the string.
this is a logical mind screw and i'm stumped on the iterations on how to perform such a thing
So, simplified: Merge strings together at N and X.
N being even
X Being odd (excluding the first)