compost static method
Decryption method
Implementation
static List<int> compost({
required List<int> data,
required int password,
}){
List<int> decrypted = [];
for(int i = 0; i < data.length; i++){
decrypted.add(data[i] - password);
}
return decrypted;
}