Backup/Restore
To ensure wallets can be securely backed up and restored, users need to create a Secure Encryption Key (SEK). Each user has only one SEK, which is used to encrypt wallet data for backup and decryption during restore.
1. Store Backup Data
The SEK is used to encrypt wallet data for backup purposes, call
storeBackupData()
data
: The SEK inByteArray
format to encrypt. Example:
2. Get Backup Data
To restore wallets, call
getBackupData()
to retrieve the SEK for decryption. Example:
Last updated