2
0

CHANGELOG 8.7 KB

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