EncryptionMode

public enum EncryptionMode

The encryption mode to use for a document.

  • r2

    Use Revision 2 algorithm. The key length is set to 5 (40 bits).

    Declaration

    Swift

    case r2
  • Use Revision 3 algorithm. The key length can be from 5 (40 bits) to 16 (128 bits).

    Declaration

    Swift

    case r3(keyLength: Int)