ENCRYPTED_STRING macro/function
Last updated
Last updated
iOS/watchOS: where the APLConfiguration
subclass has one public key, use the ENCRYPTED_STRING
macro/function for each list item in the (Objective-C) macro or (Swift) property wrapper.
Android: each annotation will have a corresponding static initialiser block that inserts either a plaintext string or ciphertext string into a Map depending on the value of .
You can copy the multi line string including the return
keyword and line breaks as follows (do not include any comments or #if
macros):
Public Key
text fieldThe public key will be reformatted automatically.
Copy the plaintext value from:
the first parameter of the ENCRYPTED_STRING
macro/function in Objective-C/Swift, or
the false
condition of the ternary operator in Java or the if
statement in Kotlin.
Copy just the plaintext value without surrounding quotes as follows:
Plaintext
text fieldNote: due to the nature of RSA public key encryption, the ciphertext randomly changes for every modification you make.
the second parameter of the ENCRYPTED_STRING
macro/function in Objective-C/Swift, or
the true
condition of the ternary operator in Java or the if
statement in Kotlin.
The ciphertext will be computed automatically. e.g.:
Copy the ciphertext value.
Paste the ciphertext into: