[SERVER-41440] Rename SHABlock to HashBlock Created: 31/May/19  Updated: 29/Oct/23  Resolved: 18/Jun/19

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Jason Piao (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2019-06-17, Security 2019-07-01
Participants:

 Description   

The internal SHABlock class represents the output of a hash algorithm. It has generic methods for interacting with a fixed width binary blob. It has traits about hash implementations injected via templates. We currently only support SHA-1 and and various SHA-2 algorithms, but there is nothing about the class that would prevent implementations of other hash algorithms.

We should rename SHABlock to HashBlock, to indicate the generic nature of the class.



 Comments   
Comment by Githook User [ 17/Jun/19 ]

Author:

{'name': 'Jason Piao', 'email': 'jason.piao@mongodb.com'}

Message: SERVER-41440 Rename SHABlock to HashBlock
Branch: master
https://github.com/mongodb/mongo/commit/e45441ca46ff35e5ff8d4ca6dbe159996c87d007

Generated at Thu Feb 08 04:57:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.