add crypto snippet