Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Signal digest embedding #13

Merged
merged 1 commit into from
Sep 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions TunnelKit/Sources/Core/SessionProxy+Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ extension SessionProxy {

/// AES encryption with 256-bit key size and GCM.
case aes256gcm = "AES-256-GCM"

/// Digest should be ignored when this is `true`.
public var embedsDigest: Bool {
return rawValue.hasSuffix("-GCM")
}
}

/// The available message digest algorithms.
Expand Down