name method

String name(
  1. int id
)

Implementation

static String name(int id) {
  switch (id) {
    case AES128_CTR:
      return 'aes128-ctr';
    case AES128_CBC:
      return 'aes128-cbc';
    case AES256_CTR:
      return 'aes256-ctr';
    case AES256_CBC:
      return 'aes256-cbc';
    default:
      return '';
  }
}