How to encrypt/store private key, if login is with biometrics/OTP/Sign in with Google

I am creating a cross-platform application, in which I am encrypting all data using AES-GSM.
So my problem is that I want to store private keys locally on the user’s device (either Android, IOS, Web, etc.). But Since for login I have multi… Continue reading How to encrypt/store private key, if login is with biometrics/OTP/Sign in with Google

How to encrypt/store private key, if login is with biometrics/OTP/Sign in with Google

I am creating a cross-platform application, in which I am encrypting all data using AES-GSM.
So my problem is that I want to store private keys locally on the user’s device (either Android, IOS, Web, etc.). But Since for login I have multi… Continue reading How to encrypt/store private key, if login is with biometrics/OTP/Sign in with Google

What is more secure: encrypting individual files in archive or encrypting the archive itself?

Let’s assume we have symmetric crypto with the same IV for each operation.
From my perspective, encrypting the whole archive is better, as similar strings are compacted and the CBC will work for us even if there are same regions.
Encryptin… Continue reading What is more secure: encrypting individual files in archive or encrypting the archive itself?