Error when use salt and non-alphabet custom string
Aberta
- Linguagem predominante
- Elixir
- Estrelas
- 282
- Forks
- 16
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
```elixir
custom_string = "123456789абвгґдеєжзиіїйклмнопрстуфцчшщьюяАБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФЦЧШЩЬЮЯ"
hashids = Hashids.new(salt: "ЦжЧєДОЄ8ук", alphabet: custom_string)
** (MatchError) no match of right hand side value: {[], []}
(hashids 2.1.0) iex:58: Hashids.Helpers.swap/3
(hashids 2.1.0) iex:54: Hashids.Helpers.loop/6
(hashids 2.1.0) iex:261: Hashids.calculate_seps/4
(hashids 2.1.0) iex:90: Hashids.new/1
iex:53: (file)
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.