Error when use salt and non-alphabet custom string
Ouverte
- Langage dominant
- Elixir
- Étoiles
- 282
- Forks
- 16
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```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)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.