encryption_box_decrypt method
Block cipher algorithms pad data to cipher block size so encrypted data can be longer then original data. Client should store the original data size after encryption and use it after decryption to retrieve the original data from decrypted data.
Implementation
Future<ResultOfEncryptionBoxDecrypt> encryption_box_decrypt(
ParamsOfEncryptionBoxDecrypt params) async {
final res = await _tonCore.request(
'crypto.encryption_box_decrypt', params.toString());
return ResultOfEncryptionBoxDecrypt.fromMap(res);
}