Browse Source

Fix String extension crc32c to call crc32c

Bryant Luk 6 năm trước cách đây
mục cha
commit
68060e5382
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Sources/CryptoSwift/String+Extension.swift

+ 1 - 1
Sources/CryptoSwift/String+Extension.swift

@@ -52,7 +52,7 @@ extension String {
     }
 
     public func crc32c(seed: UInt32? = nil, reflect: Bool = true) -> String {
-        return bytes.crc32(seed: seed, reflect: reflect).bytes().toHexString()
+        return bytes.crc32c(seed: seed, reflect: reflect).bytes().toHexString()
     }
 
     public func crc16(seed: UInt16? = nil) -> String {