Mode

public enum Mode

Enumerates encryption mode

  • ECB

    Electronic Code Book

    Declaration

    Swift

    case ECB
  • CBC

    Cipher Block Chaining

    Declaration

    Swift

    case CBC
  • CFB

    Cipher FeeBack

    Declaration

    Swift

    case CFB
  • CTR

    Counter

    Declaration

    Swift

    case CTR
  • F8

    Unimplemented for now (not included)

    Declaration

    Swift

    case F8
  • LRW

    Unimplemented for now (not included)

    Declaration

    Swift

    case LRW
  • OFB

    Output FeedBack

    Declaration

    Swift

    case OFB
  • XTS

    Xor-encode-xor Tweaked with ciphertext Stealing

    Declaration

    Swift

    case XTS
  • RC4

    RC4 streaming

    Declaration

    Swift

    case RC4
  • Cipher FeebBack with 8-bit shifts

    Declaration

    Swift

    case CFB8