请问 hbase的rowkey做散列的话 用什么算法比较好一点,最好是可以解密的
public byte[] getRowKey(String rowKey) {
return Bytes.add(MD5Hash.getMD5AsHex(Bytes.toBytes(rowKey)).substring(0, 8).getBytes(), Bytes.toBytes(rowKey));
}
分享数据库前沿,解构实战干货,推动数据库技术变革