added example for hash slice method [ci skip]

s/validate/valid - fixed in b670fadb978c8a12c3414ed842cd49e4fde2cec0