37,143 questions
-4
votes
0
answers
53
views
Brute-forcing readable text from constrained Arabic character? [closed]
I have an Arabic text of length 1880 characters. It is from a religious book, and I suspect it may contain a hidden encrypted message, similar to the Atbash cipher used for the Torah.
I only have one ...
0
votes
0
answers
55
views
delphi Data.DBXEncryption unit exception integer overflow
Delphi 10.2.3
Windows 10 with all current updates
I am suddenly getting this exception in Unit Data.DBXEncryption function TPC1Cypher.Code(const I: Integer): Integer;
Overflow occurs in the line below ...
0
votes
0
answers
30
views
MySQL 9.1.0 Windows - component_keyring_file fails to load from manifest file (Unknown error 1126, 3529) [migrated]
I'm trying to set up encryption at rest on MySQL 9.1.0 on Windows using component_keyring_file.
Setup:
MySQL 9.1.0 installed at C:\MySQL\mysql-9.1.0-winx64\
OS: Windows 11
Running MySQL as a service (...
-6
votes
1
answer
129
views
Cypher technical test
I found this technical test, but i cannot solve, the original one is in spanish
The problem is to find the last sentence displayed by a robot before it stopped working.
The robot broke down a few days ...
0
votes
0
answers
80
views
What to use for encrypting Room Database in Android now that EncryptedSharedPreferences and MasterKeys are deprecated?
I recently started a new Android app project using Kotlin and Jetpack Compose. I added code to setup the Room database, so I can store data locally with the app. I now have a need to encrypt the data ...
Tooling
3
votes
2
replies
145
views
Is there a browser-only JavaScript solution to unlock a password-protected PDF?
I’m trying to unlock a password-protected PDF entirely in the browser using JavaScript (no server).
What I’ve tried:
pdf-lib
PDFDocument.load(bytes, { password }) → throws “Input document is ...
2
votes
0
answers
108
views
Clang gives incorrect result for LEA-192 and LEA-256 [closed]
I have implemented the LEA block cipher, and when I compile it using Clang with non-zero optimization, it gives the wrong result. For a key with 128 bits, the cipher works correctly, but for 192 and ...
Advice
0
votes
5
replies
84
views
how to open digitally signed / hashed / secured video files
i am seeking for advice for opening video files which were supposed to directly auto run from a pen drive but did not run due to some issue from the provider. the files are school subject video ...
Best practices
2
votes
4
replies
96
views
search/where conditions on AES-GCM encrypted columns using Prisma middleware
I have implemented AES-GCM encryption for sensitive database columns (e.g., SSN).
I wrote a Prisma middleware that:
Encrypts sensitive fields before write operations (create/update).
Decrypts ...
4
votes
1
answer
155
views
Reducing memory usage when writing chunks in order with Go parallel workers
I have a Go function for encrypting data in parallel using AES-GCM:
func encryptParallel(ctx context.Context, aead cipher.AEAD, w io.Writer, r io.Reader, workers uint64) error
The design is:
One ...
Advice
0
votes
1
replies
81
views
Create an X word combination linked to a specific set of data
To start, here is an example:
When a messenger app wants you to share your contact information, they assign you a random 4-6 word combination (e.g. TIGER-TRUCK-FIRES-GHOST-TILES) that acts as a human ...
-1
votes
1
answer
98
views
How to use Blazor.SubtleCrypto in a non-component related class?
In a Blazor WASM project I want to use Blazor.SubtleCrypto in a non-component related class. In a component class I need to use @inject ICryptoService Crypto which works fine but that does not work in ...
Advice
0
votes
1
replies
81
views
How should I encrypt my email service so only the allowed clients are able to call it
I have an email microservice that I created.
I have a platform deployed for multiple tenants. Example; clienta.platform.com, clientb.platform.com etc etc.
Now I want to secure the email micro-service ...
1
vote
0
answers
142
views
InvalidAlgorithmParameterException: Unsupported IV length: 16 bytes. Only 12 bytes long IV supported
I'm trying to implement data encryption and decryption using Cipher. This is my code:
class CryptographyManagerImpl : CryptographyManager {
private val KEY_SIZE_BITS: Int = 256
private val ...
0
votes
1
answer
168
views
Encrypt data on client side using cryptoJs and decrypt on server side SFCC (Java) Cipher
My project requires several storefront network requests to be encrypted and sent over, so thats its not interpreted by any outsider and pose a threat to the system or user. Typically sensitive or ...