EncryptionKey

public enum EncryptionKey

The encryption key, a raw AES-256 key data which has exactly 32 bytes in length or a password string. If the password string is given, it will be internally converted to a raw AES key using 64,000 rounds of PBKDF2 hashing.

  • key: 32-byte AES-256 data key. To create a key, generate random data using a secure cryptographic randomizer like SecRandomCopyBytes or CCRandomGenerateBytes.
  • password: Password string that will be internally converted to a raw AES-256 key using 64,000 rounds of PBKDF2 hashing.
  • key

    Undocumented

    Declaration

    Swift

    public enum EncryptionKey
  • Undocumented

    Declaration

    Swift

    public enum EncryptionKey