Strength

public enum Strength : Int, Sendable

The strength of the mnemonic, determining the number of words generated.

  • normal: 128 bits of entropy, generates a 12-word mnemonic
  • high: 256 bits of entropy, generates a 24-word mnemonic
  • Normal strength with 128-bit entropy producing a 12-word mnemonic.

    Declaration

    Swift

    case normal = 128
  • High strength with 256-bit entropy producing a 24-word mnemonic.

    Declaration

    Swift

    case high = 256