Clean swift and add copyright
This commit is contained in:
parent
6150f4bf36
commit
dee2e415c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user