add a new hashcode way

Signed-off-by: yuanhuan <yuanhuan@tcl.com>