| .. |
|
Playground
|
c8ee331a31
HMAC authenticator (variants MD5, SHA1, SHA256)
|
11 years ago |
|
AES.swift
|
dc9e634654
Manual padding of data is optional and CryptoSwift by default always will add PKCS7 padding before encryption, and remove after decryption when Cipher enum is used. If you need manually disable/enable padding, you can do this by setting parameter for encrypt()/decrypt() on class AES.
|
11 years ago |
|
ArrayExtension.swift
|
faa315738e
toBytes fixes
|
11 years ago |
|
Authenticator.swift
|
c8ee331a31
HMAC authenticator (variants MD5, SHA1, SHA256)
|
11 years ago |
|
BitExtension.swift
|
461eccf50a
Bit extension (invert bits)
|
11 years ago |
|
ByteExtension.swift
|
4a62665775
integerFromBitsArray done with help of protocol Initiable and few extensions
|
11 years ago |
|
CRC.swift
|
9ba8e31a04
More refactor work, some generics separated etc
|
11 years ago |
|
ChaCha20.swift
|
129b8329c5
PKCS7
|
11 years ago |
|
Cipher.swift
|
8b9e78948a
make randomIV static function.
|
11 years ago |
|
CipherBlockMode.swift
|
134e21e98f
AES update. IV is required or convenience initializer should be used, then IV is default to zeroes [0x00...]. Convenience function to generate random IV.
|
11 years ago |
|
CryptoHashBase.swift
|
a2a0c80027
Fix hash calculations for empty string "". HashBase.init is no longer failable initializer.
|
11 years ago |
|
CryptoSwift.h
|
c26a8b2f3d
Fix import compatibility for OSX target
|
11 years ago |
|
Generics.swift
|
1021cbdfd6
Update to Xcode6.1 GM
|
11 years ago |
|
HMAC.swift
|
c8ee331a31
HMAC authenticator (variants MD5, SHA1, SHA256)
|
11 years ago |
|
Hash.swift
|
a2a0c80027
Fix hash calculations for empty string "". HashBase.init is no longer failable initializer.
|
11 years ago |
|
Info.plist
|
1e89af817a
Current version is 0.0.2
|
11 years ago |
|
IntExtension.swift
|
677cf997de
arrayOfBytes length is optional. Simpler version of integerFromBitsArray
|
11 years ago |
|
MD5.swift
|
67bf827fa5
refactor public api
|
11 years ago |
|
NSDataExtension.swift
|
a2a0c80027
Fix hash calculations for empty string "". HashBase.init is no longer failable initializer.
|
11 years ago |
|
Operators.swift
|
9ba8e31a04
More refactor work, some generics separated etc
|
11 years ago |
|
PKCS7.swift
|
dc9e634654
Manual padding of data is optional and CryptoSwift by default always will add PKCS7 padding before encryption, and remove after decryption when Cipher enum is used. If you need manually disable/enable padding, you can do this by setting parameter for encrypt()/decrypt() on class AES.
|
11 years ago |
|
PaddingMode.swift
|
d80417c05f
remove PKCS7 padding
|
11 years ago |
|
Poly1305.swift
|
11159915a9
Failable initializers
|
11 years ago |
|
SHA1.swift
|
67bf827fa5
refactor public api
|
11 years ago |
|
SHA2.swift
|
95f805393a
integerFromBitsArray<T> crash on Beta7, so disabled.
|
11 years ago |
|
StringExtension.swift
|
03e5332ceb
Hash results as optionals
|
11 years ago |
|
UInt16Extension.swift
|
ca570ea7bd
UInt16 extension (I need generic for bits shifting)
|
11 years ago |
|
UInt32Extension.swift
|
677cf997de
arrayOfBytes length is optional. Simpler version of integerFromBitsArray
|
11 years ago |
|
UInt64Extension.swift
|
677cf997de
arrayOfBytes length is optional. Simpler version of integerFromBitsArray
|
11 years ago |
|
Utils.swift
|
84ce94b0aa
AES keyExpansion
|
11 years ago |