From f7009a446b407baffb4ef72952715abc4c53d019 Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Tue, 4 Aug 2020 19:46:43 +0200 Subject: [PATCH] Rename HMAC module --- src/Library/Cryptography/Hmac.elm | 2 +- src/Library/Sources/Services/AmazonS3/Presign.elm | 4 ++-- src/Library/Sources/Services/Azure/Authorization.elm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Library/Cryptography/Hmac.elm b/src/Library/Cryptography/Hmac.elm index 46ec9965..944a4919 100644 --- a/src/Library/Cryptography/Hmac.elm +++ b/src/Library/Cryptography/Hmac.elm @@ -1,4 +1,4 @@ -module Cryptography.HMAC exposing (encrypt128, encrypt64) +module Cryptography.Hmac exposing (encrypt128, encrypt64) {-| Cryptography – HMAC -} diff --git a/src/Library/Sources/Services/AmazonS3/Presign.elm b/src/Library/Sources/Services/AmazonS3/Presign.elm index 85656738..cc868a11 100644 --- a/src/Library/Sources/Services/AmazonS3/Presign.elm +++ b/src/Library/Sources/Services/AmazonS3/Presign.elm @@ -2,7 +2,7 @@ module Sources.Services.AmazonS3.Presign exposing (presignedUrl) import Binary exposing (Bits) import Common -import Cryptography.HMAC as HMAC +import Cryptography.Hmac as Hmac import DateFormat as Date import Dict import Dict.Ext as Dict @@ -201,4 +201,4 @@ encodeAdditionalCharacters query = hmacSha256 : String -> Bits -> Bits hmacSha256 = - HMAC.encrypt64 SHA.sha256 + Hmac.encrypt64 SHA.sha256 diff --git a/src/Library/Sources/Services/Azure/Authorization.elm b/src/Library/Sources/Services/Azure/Authorization.elm index a3a61136..5e187213 100755 --- a/src/Library/Sources/Services/Azure/Authorization.elm +++ b/src/Library/Sources/Services/Azure/Authorization.elm @@ -10,7 +10,7 @@ module Sources.Services.Azure.Authorization exposing (Computation(..), Signature import Binary import BinaryBase64 import Common -import Cryptography.HMAC as Hmac +import Cryptography.Hmac as Hmac import DateFormat as Date import Dict import Dict.Ext as Dict -- 2.51.2