model/utils.py
def import_key(key: str) -> RSA.RsaKey:
    """Returns the RSA key correspondent to a string version.
    It's the inverse function of parse_key"""

    return RSA.importKey(binascii.unhexlify(key))
Returns the RSA key correspondent to a string version.
    It's the inverse function of parse_key
Returns the RSA key correspondent to a string version.
It's the inverse function of parse_key
Returns the RSA key correspondent to a string version . It ' s the inverse function of parse_key
def import_key(key: str) -> RSA.RsaKey:
    return RSA.importKey(binascii.unhexlify(key))
def import_key ( key : str ) -> RSA . RsaKey : return RSA . importKey ( binascii . unhexlify ( key ) )
Returns the RSA key correspondent to a string version.
Returns the RSA key correspondent to a string version .
"""Returns the RSA key correspondent to a string version.
    It's the inverse function of parse_key"""
key
str