Explorar el Código

add a public initializer to `NoPadding`

Cheng-Yu Hsu hace 9 años
padre
commit
e79909ed1d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      Sources/CryptoSwift/NoPadding.swift

+ 4 - 0
Sources/CryptoSwift/NoPadding.swift

@@ -7,6 +7,10 @@
 //
 
 public struct NoPadding: Padding {
+    public init() {
+    
+    }
+    
     public func add(data: [UInt8], blockSize:Int) -> [UInt8] {
         return data;
     }