Category "encryption"

openssl CMS decryption fails

openssl cms -decrypt -in cms.txt -recip my_cert.pem -inkey private_key.pem Error reading S/MIME message 140064210231744:error:0D0D40D1:asn1 encoding routines:SM

App Store - Help answering "Missing Compliance" (using Expo + Firebase)

I'm publishing my app to App Store and I have doubts regarding the "Missing Compliance" step. Here's some info about the app: I used Expo (Managed workflow). T

Issues while decrypting Initialization Vector IV algorithm

I am tying to implement Intilization vector 4 the issue I am facing is I am able to encrypt my text using intilization vector4 algorithm but when it comes to de

Encrypt Cache.db-wal file

I am building a react native app that fails on iOS penetration testing cause it stores in cache the results of some requests that happen in the app. Is there an

how to store additional data in a text file apart from it's content - C++

I am doing this small university project, where I have to create a console-based text editor with some features, and making files password protected is one of t

The data types nvarchar(max) encrypted with with (encryption_type = 'DETERMINISTIC' xxx) are incompatible in the equal to operator

var countryCode = new SqlParameter("@countryCode", SqlDbType.VarBinary); var byteArray = Encoding.UTF8.GetBytes(dto.Country); countryCode.Value = byteArray; var

Archive files directly from memory in Python

I'm writing this program where I get a number of files, then zip them with encryption using pyzipper, and also I'm using io.BitesIO() to write these files to it

Deterministically generate public/private key from a seed for asymmetric encryption

I am trying to implement a client side method to encrypt data in transit, and the key will be generated from client side with node.js Right now, i am stuck in a

How to correctly store user secrets in a frontend Application?

I am building a Web Application where the user's data is end-to-end-encrypted. The web client obviously needs a secret that nobody else knows for end-to-end-enc

Generating aes cbc key from password and iv in dart

anyone havean idea how can i generate a key for aes encryption in dart from iv and password? like this code written in C#: var spec = new Rfc2898DeriveBytes(En

How to encrypt JSON in python

I have a JSON file. I am running a program, in python, where data is extracted from the JSON file. Is there any way to encrypt the JSON file with a key, so that

Getting errors while trying to decode string with rsa and base64

I'm trying to make a password manager with Python and encrypting the passwords with RSA. that part went smoothly. What's not going smoothly is the decryption. T

Why am I still able to read encrypted EBS volume data in EC2 even after disabling the KMS key?

I am trying to verify data encryption of EBS volume in AWS. I have encrypted one EBS volume with a KMS key and mounted it on an EC2 instance. I have some files

boto3 generate_presigned_url with SSE encryption

I am looking for examples to generate presigned url using boto3 and sse encryption. Here is my code so far s3_client = boto3.client('s3',

Android javax.crypto.IllegalBlockSizeException

I have an issue with this helper class where I get an exception while I tried to decrypt. I tried a few solutions on the internet and they seem not working. Thi

encrypt alphabet to unicode does not work

This is project from freecodecamp where a string is encrypt by the values of the letters are shifted by 13 places All letters will be uppercase. Do not transfor

encrypt alphabet to unicode does not work

This is project from freecodecamp where a string is encrypt by the values of the letters are shifted by 13 places All letters will be uppercase. Do not transfor

How to generate curve25519 key pair for diffie hellman algorithm?

I want to implement ECDHE algorithm in my project ,for that I want to use Curve25519.But stuck how to generate key-pair for Curve25519.With other curve I am abl

How can I manually decrypt content encrypted by infoencrypt.com (AES-128)?

TLDR: I need to decrypt AES-128 plain text encrypted by the now-defunct site Infoencrypt.com. I have the unhashed passphrase-like keys. My files all follow this

How to encrypt a string and decrypt this encrypted string in other device in flutter?

I found encrypt package for flutter to encrypt and decrypt a message, I succeded to encrypt and decrypt but don't succeded to use this in a cas of separated d