Remade validation algorithm for Vkontakte.