sha1_name: refactor reinterpret()