         /// password is incorrect or ciphertext is in the wrong format.
         /// - throws `Error`
         public func decrypt(data: Data) throws -> Data {
-            return try oneshot(data)
+            return try oneshot(data: data)
         }
 
         /// Updates cryptor with data and returns encrypted data.

        /// password is incorrect or ciphertext is in the wrong format.
        /// - throws `Error`
        public func decrypt(data: Data) throws -> Data {
            return try oneshot(data)
        }

        /// Updates cryptor with data and returns processed data.

    /// for code that is neutral on whether it is encrypting or decrypting.
    ///
    /// - throws: `Error`
    private func oneshot(data: Data) throws -> Data {
        var result = try update(withData: data)
        result.append(try finalData())
        return result
