CHANGELOG 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. 1.8.2
  2. - Enable VisionOS as supported platform for Xcode project and SwiftPM package
  3. - Tweak CocoaPods setup for privacy manifest
  4. 1.8.1
  5. - Update publicKeyDER to support exponent of any byte length
  6. - Add SHA3 variants for RSA signature verification
  7. - Throw error on unsupported calls, rather than call fatalError
  8. - Update PKCS7 padding logic
  9. - Add SDK Privacy Manifest - PrivacyInfo.xcprivacy
  10. 1.8.0
  11. - Add XChaCha20 and XChaCha20-Poly1305 (@zssz)
  12. 1.7.2
  13. - Validate RSA input values
  14. - Minor updates
  15. 1.7.1
  16. - Address Swift 5.8 warnings
  17. 1.7.0
  18. - Fix compilation warnings
  19. - Ignore unknown character for base64 decoding
  20. - Bump minimum targets (for Xcode)
  21. - Xcode project disable bitcode (Building with bitcode is deprecated)
  22. 1.6.0
  23. - Improve & extend RSA support with DER (see README for details)
  24. - Fix Blowfish memory leaks
  25. - Fix PCBC mode
  26. - SwiftWasm compatibility
  27. 1.5.1
  28. - Resolve type name clash by renaming BigInt -> BigInteger
  29. 1.5.0
  30. - RSA (@NathanFallet)
  31. - Workaround for Xcode 13.3.1
  32. 1.4.3
  33. - Fix PCBC mode.
  34. 1.4.2
  35. - Update Xcode project to Xcode 13
  36. - Add SHA3 support for HMAC
  37. - Update HMAC.Variant API (deprecate current cases)
  38. 1.4.1
  39. - Introduce ISO 10126 padding
  40. - fix various compiler warnings
  41. - Revert Xcode project deployment target
  42. 1.4.0
  43. - Customize CFB segment size (cfb8, cfb128).
  44. - Adapt Swift @inlineable for better code optimization
  45. 1.3.8
  46. - Revert xcframework revolution. Back to build from sources. (I'm sorry)
  47. 1.3.7
  48. - Re-release to workaround Swift Package Manager release
  49. 1.3.6
  50. - Fix macOS binary
  51. - Windows support
  52. 1.3.5
  53. - Re-release binary framework due to codesign issue
  54. 1.3.4
  55. - Distribute optimized binary (xcframework) via SPM for apple platforms
  56. 1.3.3
  57. - Adds OCB Authenticated-Encryption Algorithm (RFC7253)
  58. - build-framework.sh output CryptoSwift.xcframework
  59. - Xcode 12.2 maintenance updates
  60. - Removed CryptoSwift.playground (couldn't make it work since Xcode 12 update)
  61. 1.3.2
  62. - Swift 5.3 update (Xcode 12)
  63. - Bump target platform (iOS 9, macOS 10.12)
  64. - Allow CMAC with any Cipher
  65. - Remove CMAC key limit
  66. 1.3.1
  67. - Fix tests
  68. - Swift 5.2 update
  69. - Address possible timing issue
  70. 1.3.0
  71. - Adds ISO-78164 padding
  72. - Performance improvements
  73. - Swift 5.1 update
  74. 1.2.0
  75. - Performance improvements
  76. - Workaround Xcode test builds with Xcode 11
  77. 1.1.3
  78. - Fix build crash: https://bugs.swift.org/browse/SR-11630
  79. - Fixes Xcode project tests build
  80. - SwiftFormat all the things
  81. - Increase/fix SHA2 data length for big input by use Int64 for calculation
  82. 1.1.2
  83. - Fix Swift 5.0 build (for real this time)
  84. 1.1.1
  85. - Fix Swift 5.0 build
  86. 1.1.0
  87. - Replace RandomBytesSequence with Swift.RandomNumberGenerator
  88. - Fix CBC-MAC
  89. - Update SPM support
  90. - Update for Xcode 11 and Swift 5.1
  91. - Xcode: BUILD_LIBRARY_FOR_DISTRIBUTION = YES
  92. 1.0.0
  93. - Swift 5
  94. - Let's
  95. - Celebrate
  96. - This
  97. - Event
  98. - With
  99. - 1.0.0 release
  100. - After
  101. - 4 years
  102. - Thank you
  103. 0.15.0
  104. - Adds The scrypt Password-Based Key Derivation Function (https://tools.ietf.org/html/rfc7914)
  105. - Minor improvements
  106. 0.14.0
  107. - Fixed decryption of AES-GCM ciphertexts with custom tag length
  108. 0.13.1
  109. - Adds AES-GCM tag length configuration.
  110. - Fixes count check for initializing UInt64 from Data.
  111. 0.13.0
  112. - Adds CBC-MAC authenticator.
  113. - Adds AES-CCM operation mode.
  114. 0.12.0
  115. - Swift 4.2 maintenance update.
  116. 0.11.0
  117. - API: Cryptor.seek() is throwable
  118. - Adds proper stream support for CTR encryption with Updaptable interface.
  119. - Refactor internals for the stream cipher modes.
  120. - Set minimum deployment target to 8.0 (again).
  121. 0.10.0
  122. - API: BlockMode is no longer an enum. Please migrate to eg. CBC() etc...
  123. - Adds AES-GCM support. #97 - Feature sponsored by GesundheitsCloud (http://www.gesundheitscloud.de/)
  124. - Adds CRC32c support.
  125. - Improves AES variant validation.
  126. - Fixes empty password in PBKDF2.
  127. 0.9.0
  128. - Swift 4.1 compatibility
  129. - Added CMAC message authenticator https://tools.ietf.org/html/rfc4493
  130. - Added AEADChaCha20Poly1305 (AEAD_CHACHA20_POLY1305) https://tools.ietf.org/html/rfc7539#section-2.8.1
  131. 0.8.3
  132. - Fixes SHA3 padding.
  133. - Fixes Carthage builds.
  134. 0.8.2
  135. - Fixes SHA3 partial updates calculations.
  136. - Makes ChaCha20 processing faster again.
  137. 0.8.1
  138. - Adds Data(hex:) helper.
  139. - Adds HKDF (HMAC-based Extract-and-Expand Key Derivation Function)
  140. - Prevent ChaCha overflow error
  141. 0.8.0
  142. - Adds SHA3 Keccak variants
  143. - Adds String.bytes helper to convert String to array of bytes
  144. - Improves AES performance
  145. - Speeds up compilation times with Swift 4
  146. - Fixes: Blowfish minimum key size is 5
  147. - Removes Ciphers "iv" parameter (value moved to BlockMode)
  148. - BlockMode uses associated value for IV value where apply e.g. .CBC(iv: ivbytes)
  149. - Refactors internal hacks no longer needed with Swift 4
  150. 0.7.2
  151. - Adds Padding enum (.pkcs5, .pkcs7, .noPadding, .zeroPadding)
  152. - Removes Generics from the public API.
  153. - Slightly improves SHA1, SHA2, SHA3 performance.
  154. - Update SPM configuration for Swift 4
  155. 0.7.1
  156. - Swift 4.0 compatibility release
  157. 0.7.0
  158. - Swift 3.2 compatibility release
  159. 0.6.9
  160. - Fixed padding issue where padding was not properly added in CTR mode.
  161. - Fixed thrown error on decrypting empty string,
  162. - Fixed CI build script.
  163. - Added String.encryptToBase64()
  164. 0.6.8
  165. - Speed up MD5()
  166. - Faster Array(hex:)
  167. - Improve AES performance
  168. - Fix tvOS bitcode
  169. - Fix Blowfish CFB, OFB, CTR block modes.
  170. - Fix Blowfish for 32-bit arch.
  171. - Fix ChaCha20 preconditions
  172. 0.6.7
  173. - Release for Xcode 8.2
  174. - Fix playground example
  175. 0.6.6
  176. - Rework ChaCha20
  177. - Fix Poly1305
  178. 0.6.5
  179. - Significant performance improvement when processing lange amount of data.
  180. - Degeneric functions and change Sequence -> Collection in generic constraints.
  181. 0.6.4
  182. - More performance improvements
  183. - Add convenient Digest.sha2(bytes:variant)
  184. - New: Blowfish cipher
  185. 0.6.3
  186. - Hotfix release
  187. - Fixes bitPadding() that breaks Digests calculations, introduced in 0.6.2
  188. 0.6.2
  189. - SHA performance improvements by using less Swift in Swift
  190. - Fix public access to all digests classes
  191. 0.6.1
  192. - Update tests.
  193. - New: RandomBytesSequence urandom values on Linux.
  194. - Throw appropriate error for AES with invalid input where padding is needed.
  195. - Improve performance, especially to SHA-1, SHA-2, PBKDF and related.
  196. - Set deployment targets for all platform. Fixes Carthage builds.
  197. - New: SHA-3 implementation (request #291)
  198. - SHA-1 conforms to Updatable protocol and may be calculated incrementally.
  199. - SHA-2 conforms to Updatable protocol and may be calculated incrementally.
  200. 0.6.0
  201. - Remove bridge() workaround for Linux (not needed)
  202. - make MD5() public
  203. - Update README
  204. - Convenience HMAC initializer for String input
  205. 0.6.0-beta2
  206. - SHA-2 fix #319
  207. - HashProtocol -> Digest and refactor
  208. - MD5 conforms to Updatable protocol and may be calculated incrementally
  209. - Cipher protocol accepts Collection input now
  210. 0.6.0-beta1
  211. - Swift 3 compatibility
  212. - Multiplatform, Single-scheme Xcode Project
  213. - Swift Package Manager fully supported (build and tests)
  214. - Improved Linux support
  215. - Travis configuration added
  216. - Public interface tests added
  217. - enum Authenticator -> protocol Authenticator
  218. - CRC -> Checksum
  219. - String.encrypt() returns hex string instead of Array<UInt8>
  220. - removed String.decrypt()
  221. - enum Hash -> struct Hash
  222. - Convenience initializer of Array of bytes with Hex string. Array<UInt8>(hex: "0xb1b1b2b2")
  223. - Fix reusability of ChaCha20 instance
  224. - Replace optional initializers with throwable initializers
  225. - Allow to set initial counter explicitly (AES block modes). RandomAccessCryptor.seek()
  226. 0.5.2
  227. - Fix AES-CTR incremental updates. #287
  228. - Fixed PBKDF2 tests. #295
  229. - Fixed assertion check in PKCS7. #288
  230. - Updatable protocol accept SequenceType in place of Array
  231. 0.5.1
  232. - Fixed PBKDF2 not taking key length parameter into account
  233. - Switch to Array<> in code
  234. 0.5
  235. - Added PBKDF1 https://tools.ietf.org/html/rfc2898#section-5.1
  236. - Added PBKDF2 https://tools.ietf.org/html/rfc2898#section-5.2
  237. - UpdatableCryptor protocol allows incremental encryption stream of data
  238. - CryptoSwift.playground
  239. - Docs update
  240. - Added reflection control to CRC-32 (Luís Silva)
  241. - Fix AES.init() (Pascal Pfiffner)
  242. 0.4.1
  243. - fix NoPadding()
  244. 0.4
  245. - Padding setup is now part of cipher constructor
  246. - Added PBKDF2 http://tools.ietf.org/html/rfc2898#section-5.2
  247. - Add BlockCipher protocol
  248. - Rename Cipher -> CipherProtocol
  249. - Remove build-frameworks.sh script
  250. - Keep sensitive data in memory with SecureBytes
  251. - Allows direct use of HMAC and Poly1305
  252. - README update
  253. - Fix missing Foundation import on Linux
  254. 0.3.1
  255. - replace deprecated Bit with new enum.
  256. 0.3
  257. - Swift 2.2 support
  258. - use generators for cipher block modes should reduce memory overload.
  259. - add OFB block mode
  260. - add PCBC block mode
  261. - String.decryptBase64ToString to decrypt Base64 encoded strings
  262. - broke up complicated expressions which were taking ages to compile
  263. 0.2.3
  264. - enable bitcode setting for Debug on an Apple TV
  265. - faster compilation times
  266. - improve padding functions
  267. 0.2.2
  268. - Fix ChaCha20 cipher
  269. - Replace for(;;) with for-in
  270. - Workaround for "NSString are not yet implicitly convertible to String" on Linux
  271. 0.2.1
  272. - Fix linux build
  273. - re-add umbrella header
  274. 0.2
  275. - Rabbit cipher (RFC4503)
  276. - Linux Swift support
  277. - Swift Package Manager support
  278. - tvOS support
  279. - Add optional seed to CRC
  280. - Add umbrella header (CryptoSwift.h)
  281. - Fix AES in CTR mode
  282. - Fix no padding support for CTR and CFB block modes
  283. - Fix access to AES.Error and ChaCha20.Error
  284. 0.1.1
  285. - Fix Cococapods package (missing Foundation integration)
  286. 0.1.0
  287. - Major performance improvements.
  288. - Transition from Optionals to throw error.
  289. - Replace enum Cipher with protocol for ciphers.
  290. - Added CRC16
  291. - Fixed AES CFB decryption
  292. - Drop internal "Foundation" dependency, nonetheless it is supported as usual.
  293. 0.0.16
  294. - Critical fix for private "md5" selector issue (#135)
  295. 0.0.15
  296. - Fix 32-bit CTR block mode
  297. - Carthage support update
  298. - Mark as App-Extension-Safe API
  299. 0.0.14
  300. - hexString -> toHextString() #105
  301. - CTR (Counter mode)
  302. - Hex string is lowercase now
  303. - Carthage support
  304. - Tests update
  305. - Swift 2.0 support - overall update