Marcin Krzyżanowski 9 жил өмнө
parent
commit
c95da766bf

+ 0 - 8
Sources/CryptoSwift/Collection+Extension.swift

@@ -19,10 +19,6 @@ extension Collection where Self.Iterator.Element == UInt8, Self.Index == Int {
             result.append(val)
         }
 
-        for _ in result.count..<MemoryLayout<UInt32>.size {
-            result.append(0)
-        }
-
         return result
     }
 
@@ -42,10 +38,6 @@ extension Collection where Self.Iterator.Element == UInt8, Self.Index == Int {
             result.append(val)
         }
 
-        for _ in result.count..<MemoryLayout<UInt64>.size {
-            result.append(0)
-        }
-
         return result
     }