import enum
import typing


class CipherType(enum.Enum):
    PLAIN = 0x00
    AES_ECB = 0x01  # legacy
    AES_CBC = 0x02
    RSA = 0x10


CIPHER_SYMMETRIC_TYPES: typing.Final[list[CipherType]] = [
    CipherType.PLAIN,
    CipherType.AES_ECB,
    CipherType.AES_CBC,
]
CIPHER_ASYMMETRIC_TYPES: typing.Final[list[CipherType]] = [
    CipherType.RSA,
]