Skip to content

Commit 79df111

Browse files
committed
Made some adjustments to CryptorScheme so that it's usable in cloud-access-swift
1 parent 4811a24 commit 79df111

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/CryptomatorCryptoLib/Cryptor.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public extension InputStream {
4949
}
5050
}
5151

52-
public enum CryptorScheme {
53-
case sivCtrMac
54-
case sivGcm
52+
public enum CryptorScheme: String, Codable {
53+
case sivCtrMac = "SIV_CTRMAC"
54+
case sivGcm = "SIV_GCM"
5555
}
5656

5757
public enum FileNameEncoding: String {

0 commit comments

Comments
 (0)