Overview of the White-Box Cryptography SDK
  • 23 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière

Overview of the White-Box Cryptography SDK

  • Sombre
    Lumière

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The purpose of the White-Box Cryptography SDK (WBC SDK) is to keep secret cryptographic keys hidden in the source code, even during runtime. To achieve this, application developers can convert key values into an encoded key table with the White-Box Table Generator. This encoded key table is ready to be integrated into the application, instead of hard-coding the key values into the source code.

On iOS, the WBC SDK does not support multi-threading, i.e., running multiple encryption or decryption threads concurrently is not possible!

The WBC SDK provides the implementation of a white-box AES algorithm in counter (CTR) mode. It uses encoded table representations of AES 128-bit key. The representation of the keys is created by the White-Box Table Generator.

Conversion of clear-text key into encoded key as table

Conversion of clear-text key into encoded key as table

The WBC SDK has the same output as any regular AES encryption process that uses the clear-text value of an AES key.

Available methods

The WBC SDK provides methods for encrypting and decrypting data using the key table generated by the White-Box Table Generator. For the correct usage and considerations of these methods, refer to the technical documentation included in the product package.

Errors

When an error occurs, a WBCError object is thrown. Refer to the tutorials included in the product package for examples of error handling.

Supported platforms

The WBC SDK can be used on a variety of devices and supports the following platforms:

  • White-Box Cryptography SDK Android:

    • minimum Android 7 and later

    • target Android 14

    • Java Development Kit (JDK) 6 and later

  • White-Box Cryptography SDK C++:

    • iOS 14 and later

    • using Swift 5.0 and later

    • Xcode 15

The WBC SDK package includes the following:

  • WBCSDK.aar for Java platforms (e.g. Android)

  • MSSWBC.xcframework for iOS

As of OneSpan Mobile Security Suite 4.36.0, the integration of the White-Box Cryptography SDK has changed for Android and iOS. For more information see Integrate the WBC SDK.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle