Classes
The following classes are available globally.
-
Encrypts or decrypts, accumulating result.
Useful for small in-memory buffers.
For large files or network streams use StreamCryptor.
See moreDeclaration
Swift
public class Cryptor : StreamCryptor, Updatable
-
Derives key material from a password or passphrase.
See moreDeclaration
Swift
public class PBKDF
-
Generates buffers of random bytes.
See moreDeclaration
Swift
public class Random
-
Encrypts or decrypts return results as they become available.
Note
The underlying cipher may be a block or a stream cipher.Use for large files or network streams.
For small, in-memory buffers Cryptor may be easier to use.
See moreDeclaration
Swift
public class StreamCryptor