testing encryption