Skip to content

Commit 695ddb2

Browse files
committed
Added encoded property to Masterkey
1 parent 693216c commit 695ddb2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/CryptomatorCryptoLib/Masterkey.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import Foundation
1212
public class Masterkey {
1313
private(set) var aesMasterKey: [UInt8]
1414
private(set) var macMasterKey: [UInt8]
15+
public var encoded: [UInt8] {
16+
return aesMasterKey + macMasterKey
17+
}
1518

1619
private init(aesMasterKey: [UInt8], macMasterKey: [UInt8]) {
1720
self.aesMasterKey = aesMasterKey

0 commit comments

Comments
 (0)