cryptography Questions
3
Solved
I'm only asking this because I have read many posts for 2 days now about crypto AES encryption, and just when I thought I was getting it, I realized I wasn't getting it at all.
This post is the c...
Wellknit asked 2/1, 2017 at 20:26
3
Solved
I want to sign a text file (may be a .exe file or something else in the future)
using PKCS#7 and verify the signature using Java.
What do I need to know?
Where will I find an API (.jar and docum...
Impeachable asked 22/5, 2012 at 13:49
2
Solved
This question is more generic rather than for a specific language, so I will explain my issue and what I have tried in pseudocode.
I am trying to generate a PEM public key from a JWK Set. The JWK i...
Department asked 3/2, 2022 at 15:32
5
Solved
I am getting references in a paper on genetic programming, to a "protected division" operation. When I google this, i get mostly papers on genetic programming and various results related to cryptog...
Erle asked 1/9, 2011 at 2:22
2
I have this strange problem, SslStream.AuthenticateAsClient() throws following exception:
System.Security.Authentication.AuthenticationException : A call to SSPI failed, see inner exception.
----...
Conservancy asked 2/12, 2016 at 18:46
3
I am trying to do a simple AES encryption in Java, using Java Cryto, that can then be decrypted in ObjectiveC, using OpenSSL.
as I am not doing the ObjectiveC side, I want to make sure it works, u...
Kaufman asked 24/3, 2014 at 13:25
1
Solved
I was able to succesfully use the information on this page to digitally sign a file using an x509 certificate (.pfx file) using the following code:
const Int32 CRYPTUI_WIZ_NO_UI = 1;
const Int32 ...
Elegize asked 31/8, 2023 at 15:25
6
I am looking for a Java function that will get an RSA PrivateKey and will return the correct RSA PublicKey?
Alternatively, is there a function that will tell us if the RSA PrivateKey/PublicKey is ...
Francinafrancine asked 5/7, 2012 at 13:28
3
Solved
What is the difference between functions nextXXX() - such as like nextInt(), nextFloat() and nextBytes() - and generateSeed(int numBytes): byte[] in the SecureRandom class of Java?
In what way doe...
Tops asked 9/8, 2014 at 16:10
3
Solved
I'm trying to create SHA-1 hash on the client-side. I'm trying to do this with Web Crypto API but when I'm comparing the output to what various online tools give me, the result is completely differ...
Colubrid asked 26/6, 2021 at 10:41
3
Solved
I am trying to write two classes in C# and Javascript which I can use throughout my project to encrypt or decrypt data using AES when data is exchanged.
Using AES I am embedding the Salt (32 bytes...
Overarch asked 19/12, 2017 at 16:22
4
Solved
I'm trying to pass around a public key from my iPhone to other parties, however I am unable to use the output from iOS.
let parameters: [String: Any] = [
kSecAttrKeySizeInBits as String: 384,
kS...
Fleischer asked 22/4, 2018 at 15:38
4
Solved
Github's securing webhooks page says:
Using a plain == operator is not advised. A method like secure_compare performs a “constant time” string comparison, which renders it safe from certain timi...
Commons asked 28/6, 2015 at 3:36
5
I need to create a self signed X509 Certificate with Bouncy Castle in Java, but every class I try to include is deprecated.
How can I solve this? Is there some other class to include?
Thanks
Omnivorous asked 24/4, 2015 at 16:4
7
Solved
I am trying to use the window.crypto.getRandomValues method in a nodejs script. From my understanding there is no window element when I run a simple code like this in node:
var array = new Uint32A...
Ritenuto asked 8/9, 2014 at 13:37
2
It is surprisingly difficult to set the entropy, or seed, for the Web Crypto API in javascript.
Why is this the case? Is it to make things difficult for developers?
Setting seeds allows you to d...
Kropotkin asked 1/4, 2019 at 23:34
16
Solved
I get an error when pip builds wheels for the cryptography package.
Error:
LINK : fatal error LNK1181: cannot open input file 'libssl.lib'
error: command 'C:\\Program Files (x86)\\Microsoft Vi...
Swineherd asked 22/12, 2019 at 5:19
2
I have code that generates a concatenated (r-s) signature for the ECDSA signature using jsrsasign and a key in JWK format:
const sig = new Signature({ alg: 'SHA256withECDSA' });
sig.init(KEYUTIL.g...
Jimmie asked 14/9, 2016 at 20:22
7
A few months back I was tasked with implementing a unique and random code for our web application. The code would have to be user friendly and as small as possible, but still be essentially random ...
Wilfredowilfrid asked 29/8, 2008 at 16:49
5
Solved
My Objective-C app needs to do string encryption (specifically nsstring).
I've found that AES is the most secure encryption methodology available for consumer use. I also have an understanding of h...
Barnum asked 2/9, 2011 at 22:9
2
Solved
Is there a standard mechanism for storing/retrieving cryptographic keys and certificates in the Python platform: equivalent to the 'keystore(/truststore)' in the Java Platform ?
Katekatee asked 18/11, 2015 at 21:2
2
Solved
I need to generate a PKCS12 file in python that will contain self-signed certificate and private key for it. I assembled the following python code for this task:
import OpenSSL
key = OpenSSL.crypt...
Guglielma asked 17/9, 2012 at 9:27
3
Solved
How to create a JWKS public/private key pair, similar to the one that can be created manually at https://mkjwk.org/, that includes the Key ID (kid) and Key Use (use)? I used the cryptography module...
Outport asked 18/5, 2021 at 15:35
10
Solved
I've got an RSA private key in PEM format, is there a straight forward way to read that from .NET and instantiate an RSACryptoServiceProvider to decrypt data encrypted with the corresponding public...
Asserted asked 28/10, 2008 at 15:3
2
Solved
I want to compare the hashes for every tag of 2 Security Catalog (.cat) files.
I get all tags with the CryptCATEnumerateMember function and tried to get the hashes with CryptCATEnumerateAttr, but...
Jell asked 12/6, 2019 at 6:35
© 2022 - 2024 — McMap. All rights reserved.