Hashing
日常义:把食物切成碎块(hashing potatoes),或口语 hash something up(搞砸)。技术义:对数据做 hash 运算生成固定长度摘要,用于密码存储、区块链与数据结构哈希表(hash table)。
- “She is hashing the vegetables for the breakfast skillet.” (她正把蔬菜切碎做早餐铁板菜。)
- “The server is hashing passwords before storing them.” (服务器在存储前对密码做哈希处理。)
- “We spent an hour hashing out the details of the contract.” (我们花了一小时敲定合同细节。)
“Hash” 可能来自法语 hacher(切碎);计算机 hash 借自“切碎、搅乱”意象,指将任意长度输入映射为定长输出。
“hash”(动词/名词)+ “-ing”;技术名词 hashing algorithm(哈希算法)为固定术语。
编程面试与网络安全文献中 hashing 是基础概念;厨房义见于 corned beef hash 等美式早餐;hash out 表示反复讨论以达成共识。
- 固定搭配: “password hashing” (密码哈希), “hashing out” (反复商讨)
- 原形: hash
- 名词: hash, hash function
厨房“切成碎块”+ 电脑“搅成一串数码摘要”——同一个 hash,两个世界都在 hashing。
“After hashing lunch ingredients, the intern explained hashing user data so the team could hash out a privacy policy.” (切碎午餐食材后,实习生讲解了用户数据哈希,好让团队商讨隐私政策。)