# `Countersign.Hint`
[🔗](https://github.com/mkreyman/countersign/blob/v0.1.0/lib/countersign/hint.ex#L1)

The masked form of a delivery address, the only form a screen shows:
`m•••@gmail.com` for an email, `•••-•••-0142` for a phone number.

# `email`

```elixir
@spec email(String.t()) :: String.t()
```

Masks an email address down to its first character and its domain.

# `hint`

```elixir
@spec hint(String.t(), String.t()) :: String.t()
```

The hint for `address` on `channel` (`"email"` or `"sms"`).

    iex> Countersign.Hint.hint("email", "Mary.Smith@Gmail.com")
    "m•••@gmail.com"

    iex> Countersign.Hint.hint("sms", "+1 (303) 555-0142")
    "•••-•••-0142"

# `phone`

```elixir
@spec phone(String.t()) :: String.t()
```

Masks a phone number down to its last four digits.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
