-
https://github.com/davidaurelio/hashids-python
This enables us to decode event ID without a database hit in future
-
hashids-python is not compatible with macOS (10.13.6). Please let me know how to fix it!
-
Currently all ids are sequential, which could lead to potential vectors for attack. Sequential ids are indexible however, which give database performance boosts.
Implementing Hashids should give us t…
-
See: https:// github.com/doctrine/doctrine2/issues/5684
-
The [go-hashids](https://github.com/speps/go-hashids) library has been updated to support Hashids version 1.0.0
Some backwards breaking changes were done: Encrypt/Decrypt has been renamed Encode/Deco…
-
The `hashids_t` struct is not thread safe and shouldn't be shared between threads. I don't think we care about that though.
The real issue is error reporting. Currently there's global state for error…
-
`Hashids#internal_decode` uses `String#tr` incorrectly. It is being used to replace all characters in `@seps`/`@guards` with a space, but the first argument to `tr` is in fact a Ruby "character select…
-
Long story short -- this spec will fail:
```
"decodes long hex string back" >> {
hashids.decodeHex(hashids.encodeHex("FFFFFFFFFFFFEEEEEEEEEEEEDDDDDDDDDDDD")) must_== "FFFFFFFFFFFFEEEEEEEEEEEE…
-
```elixir
custom_string = "123456789абвгґдеєжзиіїйклмнопрстуфцчшщьюяАБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФЦЧШЩЬЮЯ"
hashids = Hashids.new(salt: "ЦжЧєДОЄ8ук", alphabet: custom_string)
** (MatchError) no match o…
-
Running this simple decode on Postgres in Google Cloud returns this:
(btw, this is the output of: `SELECT hashids.encode(12345);`)
```
testdb=> SELECT hashids.decode('j0gw');
ERROR: stack depth l…
erans updated
2 years ago