فهرست منبع

Rabbit.encrypt don;t throw

Marcin Krzyżanowski 9 سال پیش
والد
کامیت
92e6d02a81
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Sources/CryptoSwift/Rabbit.swift

+ 1 - 1
Sources/CryptoSwift/Rabbit.swift

@@ -200,7 +200,7 @@ extension Rabbit: Cipher {
         return result
         return result
     }
     }
 
 
-    public func decrypt<C: Collection>(_ bytes: C) throws -> Array<UInt8> where C.Iterator.Element == UInt8, C.IndexDistance == Int, C.Index == Int {
+    public func decrypt<C: Collection>(_ bytes: C) -> Array<UInt8> where C.Iterator.Element == UInt8, C.IndexDistance == Int, C.Index == Int {
         return encrypt(bytes)
         return encrypt(bytes)
     }
     }
 }
 }