size property
int
get
size
Implementation
int get size {
switch (_size) {
case KEY_LENGTH.s128:
return 16;
case KEY_LENGTH.s192:
return 24;
case KEY_LENGTH.s256:
return 32;
default:
throw AESCipherError("Invalid key size. Must be 16, 24, or 32 bytes.");
}
}