Add uhashlib with sha256 implementation

Why not use mp_arg_check_num?