Marcin Krzyżanowski
|
56e4ffb7bb
String.encrypt() returns hex string instead of Array<UInt8>. This is consistent with rest of the functions here.
|
9 years ago |
Marcin Krzyżanowski
|
a796561bd7
String.decrypt() does not make sense, therefore removed. It's highly unexpected that encrypted bytes can be easily treat as String, and that it can be decrypted.
|
9 years ago |
Marcin Krzyżanowski
|
9395bcc414
enum Hash -> struct Hash. crc extracted to static methods of class CRC. Result of CRC is always integer.
|
9 years ago |
Marcin Krzyżanowski
|
1f82bc6c33
Upgrade to Xcode 8 with Swift 3 and new Foundation
|
9 years ago |
Marcin Krzyżanowski
|
cf0116abc1
More updates to API
|
9 years ago |
Marcin Krzyżanowski
|
280a3d3308
Swift 3 - it compile #stage1
|
9 years ago |
Marcin Krzyżanowski
|
15a5532e26
[T] -> Array<T> because I don't like this ambiguity in code. Nothing personal.
|
9 years ago |
Marcin Krzyżanowski
|
82961eb882
Update Cryptor protocol interface.
|
9 years ago |
Luís Silva
|
e0056d9611
Added reflection control to CRC-32 (calculation can now reflect or not the bytes and result).
|
9 years ago |
Marcin Krzyżanowski
|
ea286843ed
CipherType -> CipherProtocol
|
9 years ago |
Marcin Krzyżanowski
|
a1c3335843
rename protocol Cipher -> CipherType
|
9 years ago |
Marcin Krzyżanowski
|
8430c7ba60
Reorganize folders layout to satisfy Swift Package Manager and Xcode at the same time
|
10 years ago |