Skip to content

Commit

Permalink
support CryptoSwift 0.10.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
linKnowEasy committed Dec 20, 2018
1 parent d814ee1 commit c4b4a21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform :ios, "9.3"
target "TokenCore" do
use_frameworks!

pod "CryptoSwift", "0.9.0"
pod "CryptoSwift", ">= 0.10.0"
pod "BigInt", "3.0.0"
pod "GRKOpenSSLFramework"

Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PODS:
- BigInt (3.0.0):
- SipHash (~> 1.2)
- CryptoSwift (0.9.0)
- CryptoSwift (0.13.0)
- GRKOpenSSLFramework (1.0.2.13)
- SipHash (1.2.0)
- SwiftLint (0.27.0)

DEPENDENCIES:
- BigInt (= 3.0.0)
- CryptoSwift (= 0.9.0)
- CryptoSwift (>= 0.10.0)
- GRKOpenSSLFramework
- SwiftLint

Expand All @@ -22,11 +22,11 @@ SPEC REPOS:

SPEC CHECKSUMS:
BigInt: a7864bcecd2976bced91963baef90079dbdcca25
CryptoSwift: bca8c5b653dcc2d9734409242a070ff53bafac86
CryptoSwift: 16e78bebf567bad1c87b2d58f6547f25b74c31aa
GRKOpenSSLFramework: aee21fe0d6ab76fefa4f2db599d11b9c3a53c43b
SipHash: c6e9e43e9c531b5bc6602545130c26194a6d31ce
SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073

PODFILE CHECKSUM: 41227a2ee6fb8190248bc37bcb307ac884181a14
PODFILE CHECKSUM: 09216d093d2b0735356766f1b476d7b7d14cb574

COCOAPODS: 1.5.3
4 changes: 2 additions & 2 deletions Sources/Encryptor/AES128.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ extension Encryptor {
private func blockMode(iv: [UInt8]) -> BlockMode {
switch mode {
case .cbc:
return .CBC(iv: iv)
return CBC(iv: iv)
default:
return .CTR(iv: iv)
return CTR(iv: iv)
}
}
}
Expand Down

0 comments on commit c4b4a21

Please sign in to comment.