Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
173 views

I'm trying to write a java program that encrypts and decrypts a byte array of text based on a password, but when decrypting, it returns an error Error message: Exception in thread "main" ...
Lucy's user avatar
  • 105
0 votes
0 answers
39 views

I am playing around with the Encrypted Media Extensions API a bit and wondering about ClearKey encryption. As I understand it, the target file, or segments of it are encrypted using a symmetric key ...
ineedhelp's user avatar
1 vote
0 answers
98 views

I'm using ZIP format for backups of an app. Size is probably from 10Mb to 2Gb. Amount of files inside might be up to 10k. I wanted to add a password protection but found out that both ZypCrypto (...
norekhov's user avatar
  • 4,398
1 vote
0 answers
147 views

I am using SerureBlackBox and I need to decode text. In the function below, when I do: Crypto.Decrypt(@fDataBytes[0], Length(fDataBytes), @fDecryptedData[0], OutSize); it throws an error: Invalid ...
David Kovář's user avatar
0 votes
1 answer
70 views

I implemented the Symmetric encryption of access token using Android KeyStore, but where I must do encryption process Repository class where I receive data from Remote. View Model class after passing ...
Dnveeraj's user avatar
  • 138
0 votes
0 answers
60 views

I've developed a Python program that performs format-preserving encryption (FPE) for all data types, including numeric, alphanumeric, and alphabetic. It ensures that the data type (alpha or numeric) ...
Abdelouahed Abbad's user avatar
1 vote
2 answers
177 views

I'm symmetrically encrypting data using node.js code, that I'll decrypt using the openssl command in a bash script. I have encrypt/decrypt functions in both environments that work as expected, but ...
bartv's user avatar
  • 33
0 votes
0 answers
43 views

I'm new to encryption, so my question might seem basic. Despite reading multiple articles, I'm still unsure if I fully understand. I have an S3 bucket, bucket_a, which will be used by different AWS ...
pkd's user avatar
  • 553
1 vote
0 answers
86 views

I am using JsonApiDotNetCore, .NET Core, and EF Core on SQL Server and creating a REST project implementing the Json API standard. I have plenty of resources (models) but one of them has some fields ...
Alexander Notas's user avatar
0 votes
1 answer
541 views

How to do FPE (format preserving encryption) on a text like 'A123456' , if the encryption preserved the format I should get a string with a char than 6 digits , for example 'Z655432' , I used the ...
Abdelouahed Abbad's user avatar
1 vote
0 answers
124 views

I'm writing a simple encryption/encoding program using base64 and fernet, but when decrypting fernet keeps raising an Invalid Token error. Here is the code: from cryptography.fernet import Fernet ...
Tee Cheng Jun's user avatar
0 votes
1 answer
5k views

Need to set useSSL=true for mysql cloud connection for jdbc connect string but getting this error. SHA1withRSA has been restricted in our environment. How do I resolve this java.security.cert....
Jeetendra Nigam's user avatar
0 votes
0 answers
70 views

I have created a stream that takes a plaintext input stream, and it's read method will return cypertext based on the input stream; I've been reading that it is recommended to use the ...
Jeremy's user avatar
  • 46.8k
0 votes
0 answers
66 views

I'm learning how to use openssl and learn more about it. I wrote a very short line of codes which AES encrypts plaintext and display the output as ciphered text. I had no idea how to display its ...
yel1337's user avatar
  • 27
0 votes
0 answers
144 views

ENCRYPTBYPASSPHRASE in T-SQL takes a passphrase as a parameter. I'm wanting to encrypt some data in the same way outside of SQL server, in such a way as said data may be decrypted using the ...
Jayden's user avatar
  • 2,787
1 vote
0 answers
408 views

I'm running an SaaS application with support for multiple tenants. Each tenant can have multiple users assigned. Those users collaborate on a database of documents that's owned by the tenant. With my ...
dsta's user avatar
  • 11
2 votes
1 answer
1k views

Age is a practical toos for file encryption, here it is its presentation page: age. With age-keygen, we are going to be able to create a couple of public key and private key together like below: # ...
VictoireT's user avatar
0 votes
0 answers
105 views

I am using AES-256-CFB encryption method to encrypt text but when decrypting using the same parameters it doesn't give the text I encrypted Code used to encrypt const ss = Buffer.from(decipher.update(...
Anshuman Garg's user avatar
0 votes
0 answers
78 views

I am trying to decrypt an encrypted file Using the Crypto++ Library. The encryption seems to work perfectly as the file that I am encrypting has Cipher text when I open it. However , just in case I ...
Luca Alfino's user avatar
-1 votes
1 answer
155 views

I need to convert an Rijndael encryption function from C# to Node. But I cannot match the result, even with the same Key, IV, Mode and Block Size. What am I doing wrong? C# MRE: using System.Security....
olivierr91's user avatar
  • 1,447
-3 votes
1 answer
162 views

i want to encrypt and decrypt files using Symmetric Algorithms. for small file there is no issue but if our file is large for example (100 mb, 1 GB, 5 GB,...) simple codes does not work and We have to ...
Power Code's user avatar
0 votes
1 answer
481 views

Trying to encrypt a sentence with a key encrypt but i have an issue with the use of df.any() df = pd.DataFrame(data=encryptionkey) df['Character'] = df['Character'].astype(str) df['Byte'] = df['Byte']....
mobbebede's user avatar
0 votes
1 answer
30 views

I found an interesting phenomenon, when I try to do symmetric encryption (Bit-wise XOR execution) for a figure with another random figure. The execution time is different between encryption and ...
Nigel HU's user avatar
1 vote
0 answers
237 views

I am using Microsoft bcrypt (aka BestCrypt, Cryptgraphy Next Generation, Cryptography NG, CryptNG) library to generate symmetric keys: BCryptGenerateSymmetricKey BCryptKeyDerivation But every time I ...
acme acme's user avatar
0 votes
1 answer
107 views

Reading the openssl documentation I realized that you can use the openssl EVP API, to replicate what you can do with the commands: $ openssl aes-256-cbc -in text.txt -out text_out.txt -e -kfile ...
rguibuesretpo's user avatar
4 votes
0 answers
312 views

We have written 256-bit file encryption/decryption code in Java. It's working fine and it properly encrypts and decrypts file with same secret key +salt combination. import java.io.IOException; import ...
Atul Thakre's user avatar
1 vote
1 answer
316 views

So we hace this security where we want to encrypt the AES generated Symmetric key itself. Basically this flow: Backend send us key -> we create a symmetric key -> we encrypt data with symmetric ...
Vollan's user avatar
  • 1,898
-1 votes
1 answer
73 views

Assuming that my page doesn't have SSL. Let's suppose the following steps: User makes a request to my webpage (let's call it www.mypage.com). Client-side JS makes a SYMMETRIC KEY. Client-side JS ...
Victor Lucas Mazzotti's user avatar
0 votes
0 answers
499 views

I am facing issue while using the django-pgcrypto-fields. Model has charsymmetricfield and emailsymmetricfield. using pgcrypto externsion in postgres sql, following is the output for below queries ...
user3539990's user avatar
0 votes
1 answer
356 views

I implemented methods for symmetric encryption and decryption of a string in .net core 3.1. Now I'm migrating a project from .net core 3.1 to .net 7. Encryption works fine, but when I decrypt the ...
Stefan's user avatar
  • 11
0 votes
0 answers
130 views

Currently we are using openssl1.1 for a file encryption/decryption. We are facing a problem when we migrate to opensl3.0. Below is the code flow used to encrypt the file. // Set up the encryption ...
user116729's user avatar
-2 votes
1 answer
678 views

I have a small app of little value and concern but the user has to identify themselves (imagine a budget book for personal use). To make life easier on the twelve colonies the user can choose to auto-...
Dee J. Doena's user avatar
  • 1,867
0 votes
0 answers
177 views

I tried to create a program in .Net 7 that encrypts a file, saves it into another file and decrypts the encrypted file. The problem is when it tries to decrypt the encrypted file, it returns the ...
8K Tek's user avatar
  • 3
-2 votes
2 answers
113 views

I wrote a program in .NET 7 that encrypts a string and returns another string that contains the encrypted form of the first string. The problem is the program does not return anything, only a null ...
8K Tek's user avatar
  • 3
0 votes
1 answer
588 views

I'm doing a course on Udemy Build an app with ASPNET Core and Angular from scratch At the end of Section 4 I'm getting this error message: Cannot implicitly convert type 'Microsoft.IdentityModel....
Marky Mark's user avatar
0 votes
0 answers
111 views

We're trying to implement an authenticated symmetric encryption in PHP, which works most of the times, but occasionally fails, and we do not really understand why. The code is: // Encryption of $...
DevelJoe's user avatar
  • 1,552
0 votes
0 answers
249 views

I am currently attempting to implement the AES-CBC encryption algorithm into my C++ Code. I am sourcing the code from this github https://github.com/WaterJuice/WjCryptLib and the only issue I have had ...
YoAvrageBiTz's user avatar
0 votes
1 answer
4k views

I have been searching the Internet for a good solution to securely encrypt my data, but I couldn't really find anything about it. I would like to have a strong encryption of the data, like in password ...
Trexic's user avatar
  • 11
-1 votes
1 answer
370 views

I'd like to store a secret on my server securely, and permanently. Before storing it, I would run the following code: import CryptoJS from 'crypto-js'; const SECRET = 'secret'; const key = CryptoJS....
master_axe's user avatar
3 votes
1 answer
2k views

DPAPI on Windows provides functions to encrypt and decrypt arbitrary data. Functions provided by DPAPI include CryptProtectMemory, CryptUnprotectMemory, CryptProtectData and CryptUnprotectData. I ...
user avatar
0 votes
0 answers
208 views

It is looks like the encrypted string that is generated is too long and exceeds the maximum URL character limit when I am trying to encrypt DeepLinkModel having more than 20 count of DeepLinkDataDto. ...
Rakesh Kumar's user avatar
  • 3,229
1 vote
1 answer
1k views

I am using openpgp library to encrypt and decrypt a file inside a React component. Encryption works as expected with less memory usage but decryption takes too much memory. Library version that I am ...
Sumit Sahoo's user avatar
  • 3,211
1 vote
1 answer
1k views

I need to perform a delete operation on a PostgreSQL database, where the text fields involved were encrypted using the pgp_sym_encrypt() function. I'm trying to make the comparison in the Like command ...
André Rosa's user avatar
0 votes
2 answers
1k views

I have a helper class AES encrypting/decrypting a String which is mostly a clone of the code provided in Baeldung AES encryption example The code looks as follows: import java.security....
WolfiG's user avatar
  • 1,213
0 votes
1 answer
2k views

I need some detailed explanation on the length of the key? What it means when someone says it's a 16 bit key or 128 bit key etc. The Wiki definition is "In cryptography, key size, key length, or ...
Aniruddha's user avatar
  • 1,059
0 votes
0 answers
151 views

I have a spring boot java application in which all of the necessary data including clients' passwords, P12 passwords, ... are encrypted by the Masterkey. The encryption type is Symmetric. At the start ...
SM. Hosseini's user avatar
2 votes
1 answer
995 views

I would like to encrypt data in iOS app with a SymetricKey and the CryptoKit and decrypt on server side with C# in Net Core. iOS code: class Security { static let keyStr = "...
matyasl's user avatar
  • 549
0 votes
0 answers
117 views

The code works fine it's just I want it faster but am unsure how to. here is what the code does: This code encrypts the contents of a specified directory and all its subdirectories recursively. The ...
cashy's user avatar
  • 1
0 votes
0 answers
279 views

We are using AES encryption to encrypt and decrypt data that is sent between browser and the server. AES encryption needs a secret key,which is hard coded and known by the client and the server. Apart ...
lives's user avatar
  • 1,225
0 votes
0 answers
106 views

when I need to make an authentication using JWT with a Symmetric key, is it required to share the secret key with the client? I mean why? I can just send the jwt to the client, and the client doesn't ...
Osama Mohammed's user avatar

1
2 3 4 5
15