 private extension CCAlgorithm
 {
     /// @returns the block size for the algorithm
-    private func blockSize() -> Int {
+    private var blockSize: Int {
         switch(Int(self)) {
             case kCCAlgorithmAES:
                 fallthrough

            // Stream cipher return nil
            return nil
        } else {
            return Cryptor.randomDataWithLength(self.blockSize())
        }
    }
}

        let ccDataInLength = UInt(dataIn.length)
        
        // Data out
        let dataOutAvailable = ccDataInLength + algorithm.blockSize
        var dataOut: NSMutableData? = NSMutableData(length: Int(dataOutAvailable))
        var dataOutMoved: UInt = 0

