clear_crypto_box_secret_cache method

Future<void> clear_crypto_box_secret_cache(
  1. RegisteredCryptoBox params
)

Removes cached secrets (overwrites with zeroes) from all signing and encryption boxes, derived from crypto box.

Implementation

Future<void> clear_crypto_box_secret_cache(RegisteredCryptoBox params) async {
  await _tonCore.request(
      'crypto.clear_crypto_box_secret_cache', params.toString());
}