encryption Questions
2
Solved
I have a question regarding secure storage of API keys & secrets.
Here's my scenario:
I'm developing a program that collects/analyzes data from multiple external APIs. The data is rather sen...
Din asked 16/12, 2017 at 20:40
2
Solved
I am working with SagePay Forms and currently converting the VB examples they have to c#. I have made good progress so the encryption part of my project works fine (SagePay can decrypt it).
The is...
Incest asked 7/7, 2013 at 10:23
3
I need to use NIST P-256 elliptic curves to encrypt and decrypt data. Now that I have generated the key pair, but how do I use them to encrypt and decrypt?
The official website only says how to us...
Kush asked 18/7, 2019 at 5:22
7
I am using this encryption method to encrypt and decrypt a certain string :-
package encryption;
import java.security.Key;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
im...
Stevana asked 12/2, 2014 at 15:22
3
Solved
I am working on a plugin for an existing web-based tool in JavaScript.
We are collecting data and store it in a string like this:
"2.545,3.552,8.568;2.553,9.898,6.542;..." and so on.
The problem ...
Accolade asked 14/11, 2018 at 23:53
2
I'm using Mozilla SOPS to encrypt secrets, the results of which are committed to a git repo shared by the other members of a project. When using SOPS for personal projects, I am using age to encryp...
Parashah asked 17/10, 2022 at 21:31
2
Solved
I am implementing a small demo application which encrypts using AES CTR with OpenSSL is it possible to test the algorithm using different modes of operation test vectors for example testing the ECB...
Footy asked 6/7, 2010 at 16:57
1
The book "An Introduction to Mathematical Cryptography" by J. Hoffstein et al. talks about a three-line implementation of the RSA algorithm in Perl, which people used to protest US govern...
Pak asked 4/10, 2020 at 1:25
10
Solved
I'm making a program in Python to be distributed to windows users via an installer.
The program needs to be able to download a file every day encrypted with the user's public key and then decrypt ...
Poker asked 19/6, 2009 at 22:28
1
I've been playing around with/debugging/disassembling binaries on the iPhone.
The first obstacle is that the binaries are encrypted and dissembler can not read them. This can be overcome by dumpin...
Reactivate asked 24/10, 2011 at 4:5
3
Solved
I'm developing an application that communicates with a DB located on a VPS.
I need to store an information, encrypted with AES-256, in my DB.
If I'm correct, when I encrypt, there's an IV paramet...
Caning asked 6/5, 2016 at 16:58
4
Solved
Suppose I have a server storing encrypted text (end-to-end: server never sees plain text).
I want to be able to do full text search on that text.
I know this is tricky, but my idea is to use the t...
Gambell asked 9/3, 2014 at 18:55
3
I want to 'manually' compare a digest/hash of a message with the decrypted signature value on this digest.
For this, I want to decrypt the signature value (the signed digest) of the message with t...
Beckman asked 23/2, 2016 at 17:5
3
Solved
I just noticed that .NET Standard 2.1/.NET Core 3.0 finally added a class for AES-GCM encryption.
However, its API seems to be slightly different from the usual .NET crypto classes: Its Encrypt fu...
Teflon asked 27/3, 2020 at 15:42
4
Solved
Here's an interesting one. I'm writing an AES encryption algorithm, and have managed to get it making accurate encryptions. The trouble comes when I attempt to write the result to a file. I was get...
Handclap asked 29/11, 2013 at 23:34
3
I am implementing a basic encryption/decryption set of functions in nodejs and I keep getting the following error in the decryption part:
Error: Unsupported state or unable to authenticate data
Th...
Shumaker asked 12/11, 2018 at 19:1
10
On the server, Nginx is installed.
Let's Encrypt is working well with www.domain.com but is not working with static.domain.com
With PuTTY, when I enter :
sudo letsencrypt certonly -a webroot --web...
Merlon asked 21/3, 2017 at 16:49
2
Need to determine if if pdf uploaded by user is password protected without using external libs.
So far got this POC.
Any one know cases when this might not work?
<input type='file' oncha...
Gillies asked 29/8, 2018 at 15:38
3
Solved
I need to send confidential data to a server over a TCP connection. I have done a lot of researching and I understand the theoretical part. Based on what I have researched I want to do the followin...
Desired asked 24/9, 2011 at 15:33
8
Let's say an application has really specific data which belongs to a user, and nobody is supposed to see it except the owner. I use MySQL database with DataMapper ORM mapper. The application is wri...
Luehrmann asked 8/12, 2009 at 16:56
1
Okay so I am trying to create an aws v4 signature using this template from Amazon in javascript, with node.js. I am using the template's credentials , region, date, and service in order to test my ...
Sena asked 14/7, 2017 at 18:51
1
Using Android's EncryptedFile (androidx.security:security-crypto:1.1.0-alpha01), I can successfully write a file using the following code
File file = new File(context.getFilesDir() + File.separator...
Stall asked 28/7, 2020 at 5:10
5
What's wrong with this?
for (Object obj : java.security.Security.getAlgorithms("Cipher")) {
System.out.println(obj);
}
javax.crypto.SecretKeyFactory.getInstance("AES");
This is the output (JDK ...
Crites asked 6/12, 2011 at 8:25
3
Solved
I am trying to create X509Certificate2 from string. Let me show an example:
string keyBase64String = Convert.ToBase64String(file.PKCS7);
var cert = new X509Certificate2(Convert.FromBase64String(ke...
Surroundings asked 18/5, 2017 at 16:36
3
Solved
I am new with Openssl i have generated a private key myprivatekey.pem and a publickey mypublickey.pem with :
openssl ecparam -genkey -name secp160k1 -noout -out myprivatekey.pem
and my public ke...
Tousle asked 1/5, 2016 at 16:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.