public class JedisClusterCRC16 extends Object
Appendix A. CRC16 reference implementation in ANSI Cpublic static int getSlot(String key)
public static int getCRC16(byte[] bytes)
bytes - https://github.com/xetorthio/jedis/pull/733#issuecomment-55840331public static int getCRC16(String key)
Processing library Redis by Darius Morawiec. (c) 2015