Error when use salt and non-alphabet custom string
Aperta
- Lingua principale
- Elixir
- Stelle
- 282
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```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)
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.