made changes to decrypt()

made changes to decrypt(), can now use array based cookies, as in MyBB