Browse Source

add a public initializer to `NoPadding`

Cheng-Yu Hsu 9 năm trước cách đây
mục cha
commit
e79909ed1d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;
     }