CHANGELOG 8.6 KB

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