dlt.common.libs.cryptography
decode_private_key
def decode_private_key(private_key: str,
password: Optional[str] = None) -> bytes
Decode encrypted or unencrypted private key from string. Supported formats:
- base64 encoded DER
- plain-text or base64 encoded PEM