INNER CODE UNIT · Python

encode_private_key

AntonKueltz/fastecdsa · fastecdsa/encoding/__init__.py:16

    def encode_private_key(self, d: int, curve: Curve) -> bytes:
        pass

    @abstractmethod
    def decode_public_key(self, key: bytes, curve: Curve) -> Point:
        pass

    @abstractmethod
    def decode_private_key(self, key: bytes) -> int:
        pass


class SigEncoder(ABC):
    """Base class that any encoding class for EC signatures should derive from.

    All overriding methods should be static.
    """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…