Explorar o código

Rabbit.encrypt don;t throw

Marcin Krzyżanowski %!s(int64=9) %!d(string=hai) anos
pai
achega
92e6d02a81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/CryptoSwift/Rabbit.swift

+ 1 - 1
Sources/CryptoSwift/Rabbit.swift

@@ -200,7 +200,7 @@ extension Rabbit: Cipher {
         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)
     }
 }