37,101 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
2
replies
57
views
Is using CryptoJS AES with a Firebase UID as the encryption key a secure approach?
import CryptoJS from 'crypto-js';
const GLOBAL_SALT = 'AarthSaathiEncryptSaltSecretKey';
/**
* Encrypts a field value client-side using a key derived from the user's UID.
* @param {string} value ...
- reputation score 1
Advice
0
votes
4
replies
124
views
Looking for script fix (appointment website)
I have a Tampermonkey script for an appointment booking website that needs some updates. The site recently changed how their captcha works and my script stopped working properly.
I'm not a developer ...
- reputation score 1
Score of -6
0 answers
105 views
Decrypting a wordlist decoded from an Android APK [closed]
I have a wordlist that is embedded into an android app
The wordlist is encrypted and stored in several byte arrays in the code below. The arrays must be joined together in the same order.
The order is:...
- reputation score 1
Advice
0
votes
0
replies
55
views
Why would this substitution cipher not be accepted if the text in MS-408 is low entropy; yet it finds rare Latin words and the author's initials?
I noticed at Stack Overflow a person could ask questions about ciphers.
Hi all you coders and cipher hacks, it's nice to be here with you. I have had many years with MS-408 without any success in ...
- reputation score 567
Score of 2
0 answers
142 views
AES GCM Encryption error - CKR_MECHANISM_PARAM_INVALID
I'm trying to perform AES-GCM encryption using PKCS11Interop v5 against an HSM, but C_EncryptInit fails with:
Method C_EncryptInit returned CKR_MECHANISM_PARAM_INVALID
I've tested with multiple ivBit ...
- reputation score 21
Score of 0
0 answers
84 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 ...
- reputation score 19
Score of -6
1 answer
150 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 ...
- reputation score 480
Score of 0
0 answers
204 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 ...
- reputation score 1
Tooling
3
votes
3
replies
232
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 ...
- reputation score 2917
Score of 2
0 answers
121 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 ...
- reputation score 21
Advice
0
votes
5
replies
106
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 ...
- reputation score 9156
Best practices
2
votes
4
replies
113
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 ...
- reputation score 708
Score of 4
1 answer
174 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 ...
- reputation score 82
Advice
0
votes
1
replies
89
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 ...
- reputation score 33
Score of -1
1 answer
113 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 ...
- reputation score 35