CHANGELOG 6.8 KB

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