i'm building an app that really needs encryption of this type , my question is it safe to store the aes encrypted RSA key in the database ?
here is how i encrypt the key :
i generate a random 256 bit number and turn it to hex (this is the salt)
then i get the user password and derive a key from it using pbkdf2
i store the encrypted rsa key in the database
and i store the password using Argon2 in the database
is this safe or risky ?