decrypt method
Decrypts digit bytes ct (each < radix) with 16, 24 or 32-byte key, radix 2..65536 (Dart backend 2..256) and tweak. Returns same-length plaintext. Throws on bad key/radix or empty ct.
Implementation
@override
BuBytes decrypt({
required List<int> key,
required int radix,
required List<int> ct,
List<int> tweak = const [],
}) {
_checkRadix(radix, "FF1.decrypt");
final ff1 = FF1Flexible(aes: blockCipherApi.aes(key), radix: radix);
final dec = ff1.decrypt(FlexibleNumeralString(ct), tweak: tweak);
return dec.digits.asBytes;
}