         /// 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.


        /// Takes a data, returns a processed data, and invalidates the cryptor.
        public func encrypt(data: Data) -> Data {
            return try! oneshot(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: data)
        }

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