check for cryptmethod