Switch from strchr() to strtok_r()

Signed-off-by: Huang Le <4tarhl@gmail.com>
Clear ripemd160 things by stopping support p2pk script

Signed-off-by: Huang Le <4tarhl@gmail.com>