CryptographicConstants

public struct CryptographicConstants : Sendable

Cryptographic constants used throughout the SDK. These values define parameters for checksum algorithms, bit operations, and other low-level cryptographic functions.

CRC-16-CCITT-XModem Algorithm

Bit Operations

  • Byte mask for bit operations (0xFF) Used to mask values to a single byte (0-255 range)

    Declaration

    Swift

    public static let BYTE_MASK: UInt32
  • Number of bits per byte (8 bits) Standard constant for bit-level operations

    Declaration

    Swift

    public static let BITS_PER_BYTE: Int