Skip to content

Commit ddd82ee

Browse files
committed
Update version number to 0.5.1.
Update Changelog.
1 parent e740fc4 commit ddd82ee

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.5.1
2+
- Fixed PBKDF2 not taking key length parameter into account
3+
- Switch to Array<> in code
4+
15
0.5
26
- Added PBKDF1 https://tools.ietf.org/html/rfc2898#section-5.1
37
- Added PBKDF2 https://tools.ietf.org/html/rfc2898#section-5.2

CryptoSwift.playground/Contents.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import XCPlayground
1010
//: # AES
1111
//: One-time shot
1212
do {
13-
let aes = try AES(key: "passwordpassword", iv: "drowssapdrowssap")
13+
let aes = try AES(key: "passwordpassword", iv: "drowssapdrowssap") // aes128
1414
let ciphertext = try aes.encrypt("Nullam quis risus eget urna mollis ornare vel eu leo.".utf8.map({$0}))
1515
print(ciphertext.toHexString())
1616
} catch {
@@ -19,7 +19,7 @@ do {
1919

2020
//: Incremental encryption
2121
do {
22-
let aes = try AES(key: "passwordpassword", iv: "drowssapdrowssap")
22+
let aes = try AES(key: "passwordpassword", iv: "drowssapdrowssap") // aes128
2323
var encryptor = aes.makeEncryptor()
2424

2525
var ciphertext = Array<UInt8>()

CryptoSwift.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "CryptoSwift"
3-
s.version = "0.5"
4-
s.summary = "Cryptography in Swift. SHA, MD5, CRC, PBKDF2, Poly1305, HMAC, ChaCha20, Rabbit, AES."
3+
s.version = "0.5.1"
4+
s.summary = "Cryptography in Swift. SHA, MD5, CRC, PBKDF, Poly1305, HMAC, ChaCha20, Rabbit, AES."
55
s.description = "Cryptography functions and helpers for Swift implemented in Swift. SHA, MD5, PBKDF1, PBKDF2, CRC, Poly1305, HMAC, ChaCha20, Rabbit, AES."
66
s.homepage = "https://github.com/krzyzanowskim/CryptoSwift"
77
s.license = {:type => "Attribution License", :file => "LICENSE"}

Sources/CryptoSwift/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.5</string>
18+
<string>0.5.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)