CHANGELOG 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. 0.12.0
  2. - Swift 4.2 maintenance update.
  3. 0.11.0
  4. - API: Cryptor.seek() is throwable
  5. - Adds proper stream support for CTR encryption with Updaptable interface.
  6. - Refactor internals for the stream cipher modes.
  7. - Set minimum deployment target to 8.0 (again).
  8. 0.10.0
  9. - API: BlockMode is no longer an enum. Please migrate to eg. CBC() etc...
  10. - Adds AES-GCM support. #97 - Feature sponsored by GesundheitsCloud (http://www.gesundheitscloud.de/)
  11. - Adds CRC32c support.
  12. - Improves AES variant validation.
  13. - Fixes empty password in PBKDF2.
  14. 0.9.0
  15. - Swift 4.1 compatibility
  16. - Added CMAC message authenticator https://tools.ietf.org/html/rfc4493
  17. - Added AEADChaCha20Poly1305 (AEAD_CHACHA20_POLY1305) https://tools.ietf.org/html/rfc7539#section-2.8.1
  18. 0.8.3
  19. - Fixes SHA3 padding.
  20. - Fixes Carthage builds.
  21. 0.8.2
  22. - Fixes SHA3 partial updates calculations.
  23. - Makes ChaCha20 processing faster again.
  24. 0.8.1
  25. - Adds Data(hex:) helper.
  26. - Adds HKDF (HMAC-based Extract-and-Expand Key Derivation Function)
  27. - Prevent ChaCha overflow error
  28. 0.8.0
  29. - Adds SHA3 Keccak variants
  30. - Adds String.bytes helper to convert String to array of bytes
  31. - Improves AES performance
  32. - Speeds up compilation times with Swift 4
  33. - Fixes: Blowfish minimum key size is 5
  34. - Removes Ciphers "iv" parameter (value moved to BlockMode)
  35. - BlockMode uses associated value for IV value where apply e.g. .CBC(iv: ivbytes)
  36. - Refactors internal hacks no longer needed with Swift 4
  37. 0.7.2
  38. - Adds Padding enum (.pkcs5, .pkcs7, .noPadding, .zeroPadding)
  39. - Removes Generics from the public API.
  40. - Slightly improves SHA1, SHA2, SHA3 performance.
  41. - Update SPM configuration for Swift 4
  42. 0.7.1
  43. - Swift 4.0 compatibility release
  44. 0.7.0
  45. - Swift 3.2 compatibility release
  46. 0.6.9
  47. - Fixed padding issue where padding was not properly added in CTR mode.
  48. - Fixed thrown error on decrypting empty string,
  49. - Fixed CI build script.
  50. - Added String.encryptToBase64()
  51. 0.6.8
  52. - Speed up MD5()
  53. - Faster Array(hex:)
  54. - Improve AES performance
  55. - Fix tvOS bitcode
  56. - Fix Blowfish CFB, OFB, CTR block modes.
  57. - Fix Blowfish for 32-bit arch.
  58. - Fix ChaCha20 preconditions
  59. 0.6.7
  60. - Release for Xcode 8.2
  61. - Fix playground example
  62. 0.6.6
  63. - Rework ChaCha20
  64. - Fix Poly1305
  65. 0.6.5
  66. - Significant performance improvement when processing lange amount of data.
  67. - Degeneric functions and change Sequence -> Collection in generic constraints.
  68. 0.6.4
  69. - More performance improvements
  70. - Add convenient Digest.sha2(bytes:variant)
  71. - New: Blowfish cipher
  72. 0.6.3
  73. - Hotfix release
  74. - Fixes bitPadding() that breaks Digests calculations, introduced in 0.6.2
  75. 0.6.2
  76. - SHA performance improvements by using less Swift in Swift
  77. - Fix public access to all digests classes
  78. 0.6.1
  79. - Update tests.
  80. - New: RandomBytesSequence urandom values on Linux.
  81. - Throw appropriate error for AES with invalid input where padding is needed.
  82. - Improve performance, especially to SHA-1, SHA-2, PBKDF and related.
  83. - Set deployment targets for all platform. Fixes Carthage builds.
  84. - New: SHA-3 implementation (request #291)
  85. - SHA-1 conforms to Updatable protocol and may be calculated incrementally.
  86. - SHA-2 conforms to Updatable protocol and may be calculated incrementally.
  87. 0.6.0
  88. - Remove bridge() workaround for Linux (not needed)
  89. - make MD5() public
  90. - Update README
  91. - Convenience HMAC initializer for String input
  92. 0.6.0-beta2
  93. - SHA-2 fix #319
  94. - HashProtocol -> Digest and refactor
  95. - MD5 conforms to Updatable protocol and may be calculated incrementally
  96. - Cipher protocol accepts Collection input now
  97. 0.6.0-beta1
  98. - Swift 3 compatibility
  99. - Multiplatform, Single-scheme Xcode Project
  100. - Swift Package Manager fully supported (build and tests)
  101. - Improved Linux support
  102. - Travis configuration added
  103. - Public interface tests added
  104. - enum Authenticator -> protocol Authenticator
  105. - CRC -> Checksum
  106. - String.encrypt() returns hex string instead of Array<UInt8>
  107. - removed String.decrypt()
  108. - enum Hash -> struct Hash
  109. - Convenience initializer of Array of bytes with Hex string. Array<UInt8>(hex: "0xb1b1b2b2")
  110. - Fix reusability of ChaCha20 instance
  111. - Replace optional initializers with throwable initializers
  112. - Allow to set initial counter explicitly (AES block modes). RandomAccessCryptor.seek()
  113. 0.5.2
  114. - Fix AES-CTR incremental updates. #287
  115. - Fixed PBKDF2 tests. #295
  116. - Fixed assertion check in PKCS7. #288
  117. - Updatable protocol accept SequenceType in place of Array
  118. 0.5.1
  119. - Fixed PBKDF2 not taking key length parameter into account
  120. - Switch to Array<> in code
  121. 0.5
  122. - Added PBKDF1 https://tools.ietf.org/html/rfc2898#section-5.1
  123. - Added PBKDF2 https://tools.ietf.org/html/rfc2898#section-5.2
  124. - UpdatableCryptor protocol allows incremental encryption stream of data
  125. - CryptoSwift.playground
  126. - Docs update
  127. - Added reflection control to CRC-32 (Luís Silva)
  128. - Fix AES.init() (Pascal Pfiffner)
  129. 0.4.1
  130. - fix NoPadding()
  131. 0.4
  132. - Padding setup is now part of cipher constructor
  133. - Added PBKDF2 http://tools.ietf.org/html/rfc2898#section-5.2
  134. - Add BlockCipher protocol
  135. - Rename Cipher -> CipherProtocol
  136. - Remove build-frameworks.sh script
  137. - Keep sensitive data in memory with SecureBytes
  138. - Allows direct use of HMAC and Poly1305
  139. - README update
  140. - Fix missing Foundation import on Linux
  141. 0.3.1
  142. - replace deprecated Bit with new enum.
  143. 0.3
  144. - Swift 2.2 support
  145. - use generators for cipher block modes should reduce memory overload.
  146. - add OFB block mode
  147. - add PCBC block mode
  148. - String.decryptBase64ToString to decrypt Base64 encoded strings
  149. - broke up complicated expressions which were taking ages to compile
  150. 0.2.3
  151. - enable bitcode setting for Debug on an Apple TV
  152. - faster compilation times
  153. - improve padding functions
  154. 0.2.2
  155. - Fix ChaCha20 cipher
  156. - Replace for(;;) with for-in
  157. - Workaround for "NSString are not yet implicitly convertible to String" on Linux
  158. 0.2.1
  159. - Fix linux build
  160. - re-add umbrella header
  161. 0.2
  162. - Rabbit cipher (RFC4503)
  163. - Linux Swift support
  164. - Swift Package Manager support
  165. - tvOS support
  166. - Add optional seed to CRC
  167. - Add umbrella header (CryptoSwift.h)
  168. - Fix AES in CTR mode
  169. - Fix no padding support for CTR and CFB block modes
  170. - Fix access to AES.Error and ChaCha20.Error
  171. 0.1.1
  172. - Fix Cococapods package (missing Foundation integration)
  173. 0.1.0
  174. - Major performance improvements.
  175. - Transition from Optionals to throw error.
  176. - Replace enum Cipher with protocol for ciphers.
  177. - Added CRC16
  178. - Fixed AES CFB decryption
  179. - Drop internal "Foundation" dependency, nonetheless it is supported as usual.
  180. 0.0.16
  181. - Critical fix for private "md5" selector issue (#135)
  182. 0.0.15
  183. - Fix 32-bit CTR block mode
  184. - Carthage support update
  185. - Mark as App-Extension-Safe API
  186. 0.0.14
  187. - hexString -> toHextString() #105
  188. - CTR (Counter mode)
  189. - Hex string is lowercase now
  190. - Carthage support
  191. - Tests update
  192. - Swift 2.0 support - overall update