소스 검색

add a public initializer to `NoPadding`

Cheng-Yu Hsu 9 년 전
부모
커밋
e79909ed1d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }