CHANGELOG 8.5 KB

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