cryptography Questions
5
Solved
I want to develop a small OpenPGP client and I'm searching for a Java library for OpenPGP.
Are there any (open source) recommendations for this approach?
Cryptix.org does not seem alive anymore.....
Caracal asked 17/2, 2009 at 12:59
1
Solved
Background
I'm needing to pull reports from Amazon's Seller Central portal for multiple clients of ours on a weekly basis via a python script. I try to avoid webdrivers due to their inconsistent, e...
Claribel asked 17/4, 2021 at 15:13
4
Solved
I'm working with cryptography on a project and I need a little help on how to work with openssl_encrypt and openssl_decrypt, I just want to know the most basic and correct way to do it. Here is wha...
Annis asked 29/12, 2017 at 5:32
2
Solved
Consider the following code using RSA...
Example:
byte[] raw = Encoding.Default.GetBytes("Hello, World!");
RSA key = RSA.Create();
for (int index = 0; index < 5; index++)
{
byte[] si...
Anatto asked 27/8, 2021 at 21:36
0
The below swift code works to decrypt encrypted values from my encrypters on Dart, Android and Javascript.
The problem is that that the key derivation takes way too long (~15-20 seconds). This uses...
Salver asked 26/8, 2021 at 2:58
2
Solved
After all this NSA stuff I was just wondering if anybody knows alternatives to the System.Security.Cryptography.RNGCryptoServiceProvider() from .NET - maybe an Open Source solution?
I tried ...
Indistinctive asked 12/9, 2013 at 17:45
1
Solved
I'm currently signing using code that looks as below. I'm trying to find a way to create deterministic signatures. Is that possible with BouncyCastle?
var curve = SecNamedCurves.GetByName("sec...
Squier asked 23/8, 2021 at 21:8
2
I have a X509Certificate, derived from CMSSignedData(PKCS7). My question is how can I get the URL to the CRL file to check whether the certificate was revocated. I've tried the code below:
X509Cer...
Actualize asked 21/11, 2017 at 9:54
2
Solved
I am playing around with AES 256 implemented by the crypto module that is part of Node.js, to assess whether I can use it for a particular data protection feature I am planning as part of an applic...
Indiscrimination asked 2/8, 2017 at 22:5
2
Solved
I'm using x/crypto/pkcs12 to load a DER formatted *.p12 file. There is an example in the documentation that uses tls.X509KeyPair to make a tls.Certificate which can be used for an HTTP client.
Tha...
Promulgate asked 10/12, 2015 at 1:32
2
Solved
Does anyone know a way to calculate de SHA-256 hash of a file without having to load the entire file on memory?
I would be ideal to use apple's CryptoKit library
Capitalism asked 10/2, 2021 at 19:5
4
Solved
I am aware of the many cryptography providers that are available in the .NET framework along with the basics of how to use them. This is simple enough.
But my concern is this.
Lets say I want to ...
Mast asked 11/3, 2011 at 1:43
2
Using AWS KMS Encryption SDK - MultipleProviderFactory, multiple CMKs from different region can be combined to single master key provider, the first CMK is used to generate data key, other CMKs jus...
Latrice asked 26/2, 2017 at 23:32
1
Solved
I am using
window.crypto.subtle.importKey
on the localhost, It works fine. But when I put the code on the server, It is giving error Can not read property importKey of undefined. As I know, I am ...
Undemonstrative asked 22/7, 2021 at 5:45
1
Solved
i'm fairly new to OpenSSL and my current task at work is updating the code of a project from OpenSSL 1.1.1 to OpenSSL 3.0 and I'm stuck on a really weird problem.
I'm trying to create an RSA key fr...
Chinaman asked 21/7, 2021 at 7:42
9
Solved
I read some docs about md5, it said that its 128 bits, but why is it 32 characters? I can't compute the characters.
1 byte is 8 bits
if 1 character is 1 byte
then 128 bits is 128/8 = 16 bytes rig...
Achlamydeous asked 11/6, 2011 at 17:0
0
I am trying to decrypt selling partner api reports but while decrypting I am getting this error near decipher.final() [Node] Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wron...
Lettie asked 7/7, 2021 at 14:0
10
Solved
From whatever little I understand by reading various material, public-private key pair are the basis of asymmetric encryption and also something about choosing 2 prime numbers (which is roughly you...
Speciosity asked 30/3, 2009 at 8:54
3
Solved
I have been using SecureRandom with a seeded SHA1PRNG algorithm to create shared randomness between two processes. I recently learned that SHA1 is being deprecated according to NIST's standards, so...
Bolten asked 4/10, 2012 at 16:4
3
Solved
In Public-key cryptography is generated a pair of key, one private and one public, the public I put in the Github.
The Private-key decrypts the data and the Public-key encrypts the data. This mean...
Decreasing asked 5/5, 2011 at 14:0
5
Solved
I want to use triple DES in C# for encryption/decryption of (utf8) strings with a (utf8) key of any length.
I am looking for these three functions
public static string Encrypt(string data, string...
Impotence asked 10/7, 2012 at 12:43
1
Solved
I want implement a elliptic curve diffie hellman using HKDF as key derivation function. I am using a python backend and (vanilla) javascript in frontend. I am using python cryptography library in b...
Clotilde asked 11/6, 2021 at 14:5
2
I have an implementation of 'AES' encryption and decryption with 'CBC' mode and 'PKCS5Padding' padding in Kotlin. I noticed that while decrypting cipherInputStream.read(buffer) reads only 512 bytes...
Helmsman asked 9/7, 2017 at 4:32
5
Solved
I have to translate this Python code to NodeJS:
from passlib.hash import pbkdf2_sha256
pbkdf2_sha256.verify('12345678', '$pbkdf2-sha256$2000$8R7jHOOcs7YWImRM6V1LqQ$CIdNv8YlLlCZfeFJihZs7eQxBsauvVfV...
Lite asked 31/7, 2018 at 13:0
5
I'm trying to decrypt data on the browser using the AES-CTR algo. The WebCrypto API requires the counter to be passed as a BufferSource. How do I convert the counter (a number) to the expected inpu...
Gosh asked 8/4, 2019 at 23:16
© 2022 - 2024 — McMap. All rights reserved.