Crate bobbytables [−] [src]
The public Counter structure which contains the inner mutable state. This allows us to put this straight into an Arc and safely share between threads
Clean a given key string. This involves stripping non ascii characters out and limiting the key to 16 characters. The resulting key is stack allocated so be careful with it. If you need it long term put it in a Box.
An implementation of the djb2 hash using rust iterators over the contents of the HashKey array.