Clean swift and add copyright

This commit is contained in:
Hugo Pointcheval 2020-04-18 16:30:17 +02:00
parent 6150f4bf36
commit dee2e415c2

View File

@ -1,3 +1,9 @@
//
// NativeCryptoPlugin
//
// Copyright (c) 2020
// Author: Hugo Pointcheval
//
import Flutter
import UIKit
import CommonCrypto
@ -13,7 +19,6 @@ extension FlutterStandardTypedData {
}
}
func crypt(operation: Int, algorithm: Int, options: Int, key: Data,
initializationVector: Data, dataIn: Data) -> Data? {
return key.withUnsafeBytes { keyUnsafeRawBufferPointer in