Skip to content

Commit

Permalink
pub
Browse files Browse the repository at this point in the history
  • Loading branch information
arkavo-com committed Jul 10, 2024
1 parent d9f398c commit a2205ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenTDFKit/NanoTDF.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct NanoTDF {
return data
}

func getPayloadPlaintext(symmetricKey: SymmetricKey) throws -> Data {
public func getPayloadPlaintext(symmetricKey: SymmetricKey) throws -> Data {
let paddedIV = CryptoHelper.adjustNonce(payload.iv, to: 12)
let sealedBox = try AES.GCM.SealedBox(nonce: AES.GCM.Nonce(data: paddedIV),
ciphertext: payload.ciphertext,
Expand Down

0 comments on commit a2205ec

Please sign in to comment.