Global Variables

The following global variables are available globally.

  • A singleton instance of the libsodium wrapper.

    Declaration

    Swift

    let sodium: Sodium
  • The default return value that indicates success of an operation performed by libsodium.

    Declaration

    Swift

    fileprivate let sSuccess: Int32