codekingpro/portable-devtools
114k
1# This file is dual licensed under the terms of the Apache License, Version2# 2.0, and the BSD License. See the LICENSE file in the root of this repository3# for complete details.4 5from __future__ import annotations6 7import abc8 9# This exists to break an import cycle. It is normally accessible from the10# asymmetric padding module.11 12 13class AsymmetricPadding(metaclass=abc.ABCMeta):14 @property15 @abc.abstractmethod16 def name(self) -> str:17 """18 A string naming this padding (e.g. "PSS", "PKCS1").19 """20 