Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Nov 7, 2023
1 parent d05d81e commit 592635c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/AwsCommonRuntimeKit/crt/Hash.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import struct Foundation.Data
import struct Foundation.TimeInterval
import AwsCCal


extension String {

/// Computes the md5 hash over input and writes the digest output to 'output'. Use this if you don't need to stream the data you're hashing and you can load
/// the entire input to hash into memory.
/// - Parameter truncate: If you specify truncate something other than 0, the output will be truncated to that number of bytes.
/// - Parameter truncate: If you specify truncate something other than 0, the output will be truncated to that number of bytes.
public func base64EncodedMD5(truncate: Int = 0) throws -> String {
let bufferSize = 16
var bufferData = Data(count: bufferSize)
Expand All @@ -26,7 +25,6 @@ extension String {
}
}


extension Data {

/// Computes the sha256 hash over data.
Expand Down Expand Up @@ -64,5 +62,4 @@ extension Data {
return bufferData
}
}

}

0 comments on commit 592635c

Please sign in to comment.