#!/usr/bin/env python
# -*- coding: utf-8 -*-
import random
import binascii
import rsa.randnum
from Crypto.Cipher import Salsa20
from cryptography.fernet import Fernet, MultiFernet
import base64
import qrcode
import image
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives.asymmetric import rsa
print('Now we will create a public and private key for you, are you sure you want to continue?')
yesOrNo = input('Do you want to continue?(Y/N): ')
#if yesOrNo == "N":
#exit
#cypherText = str.encode(input('Enter text to encrypt: '))
private_key = rsa.generate_private_key(
public_exponent=65537,
key_size=2048,
backend=default_backend()
)
print(private_key)
Выводит ошибкy , как решить ошибкy бyдy благодарен.