Skip to content

Commit

Permalink
chore: use sha256 in hashing (#3012)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 authored Jul 4, 2024
1 parent 554329e commit d996c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library_generation/model/library_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from hashlib import sha1
from hashlib import sha256

from typing import Optional
from library_generation.model.gapic_config import GapicConfig
Expand Down Expand Up @@ -117,7 +117,7 @@ def __eq__(self, other):
)

def __hash__(self):
m = sha1()
m = sha256()
m.update(
str(
[
Expand Down

0 comments on commit d996c2d

Please sign in to comment.