rsa Questions

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

3

Solved

Is it possible to convert a PKCS#8 encoded RSA private key into PKCS#1? I know this can be done easily via openssl, but can it be done in Java?
Demagoguery asked 11/3, 2011 at 9:34

4

Solved

I need to read in an RSA private key from a file to sign a JWT. I have found some examples on how to save a generated RSA key to disk but nothing showing how to build a key struct based on a pre-ge...
Manifesto asked 28/5, 2017 at 18:28

4

I need to generating a RSA and DSA key pair (public and private key) in PEM format using java. I want the public and private key files to be opened with this format: -----BEGIN PUBLIC KEY----- M...
Saintpierre asked 15/12, 2013 at 18:32

5

I am getting the error given below when parsing the signature. Anybody has idea why the error is showing? Note that: Using the same certificate I signed my own XML and verified which is working...
Awash asked 7/7, 2015 at 17:30

3

Solved

I have a random private key ("C:\tmp\private.key"): -----BEGIN RSA PRIVATE KEY----- MIICXgIBAAKBgQDHikastc8+I81zCg/qWW8dMr8mqvXQ3qbPAmu0RjxoZVI47tvs kYlFAXOf0sPrhO2nUuooJngnHV0639iTTEYG1vckNaW2R6...
Latinist asked 30/5, 2019 at 7:26

4

As the title suggests, I would like to know if there is a way to encrypt and decrypt, using for example the RSA algorithm, data from javascript to dart and the opposite. I saw that there is a libra...
Beef asked 4/1, 2020 at 0:44

2

Solved

I'm sorry to ask your skills about a question asked so many times. I have an issue about RSA crypthography. I've already checked the other topics about this issue but i didn't find any helpful answ...
R asked 29/12, 2012 at 19:50

4

Solved

I'm using crypto/rsa, and trying to find a way to properly save and load a key. Is there a correct way to create a []byte from an rsa.PrivateKey. If so, is there a way to properly do so for an rsa....
Hypoplasia asked 25/11, 2012 at 20:20

6

Solved

(I am using MAC) My id_rsa starts with -----BEGIN OPENSSH PRIVATE KEY----- but I expect it to starts with -----BEGIN RSA PRIVATE KEY----- I have send my id_rsa.pub to server administrator to get ...
Amoretto asked 5/3, 2019 at 2:40

2

Solved

Is it possible to read the RSA private key of format PKCS1 in JAVA without converting to PKCS8? if yes, sample code is appreciated. -----BEGIN RSA PRIVATE KEY----- BASE64 ENCODED DATA -----END RS...
Parasitism asked 30/1, 2017 at 11:31

2

I want to generate an RSA public private key pair in powershell without using external software and I want to test it. It should be able to encrypt/decrypt data on any online public/private key ver...
Poirer asked 21/3, 2019 at 15:57

4

Solved

Here is how Google suggests creating an Android keystore: keytool -genkey -v -keystore my-release-key.keystore -alias alias_name \ -keyalg RSA -keysize 2048 -validity 10000 While 10000 days may...
Maccabean asked 11/1, 2013 at 6:20

7

I did the factory reset, and my computer is newly installed. I enabled the USB debuging, and connect to the computer. It shows the drivers are installed successfully, and i can see so in the device...
Shaped asked 20/6, 2013 at 16:31

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

1

I'm writing a command-line tool that will need to interact with a webservice, and I would like to be able to authenticate it using the user's ssh key. I'm wondering if I can do something like this:...
Krieg asked 26/7, 2013 at 1:32

2

Solved

I have the following code. RSACryptoServiceProvider RSA = new RSACryptoServiceProvider(); //Save the public key information to an RSAParameters structure. RSAParameters RSAKeyInfo = RSA.ExportPara...
Fragonard asked 23/5, 2013 at 10:42

4

Solved

I'm trying to follow along the Upskillcourses.com web dev online course. In lesson 11 I'm supposed to link up cloud9 to github. I'm trying to get the SSH key. But it's not working: ec2-user:~/env...
Exorcist asked 13/7, 2018 at 23:3

6

Solved

It appears they are both encryption algorithms that require public and private keys. Why would I pick one versus the other to provide encryption in my client server application?
Vehicular asked 15/5, 2010 at 17:41

3

TL;DR: RSA public key generated in iOS and stored in the keychain, exported as base64 and sent to a java backend, is not recognized. I'm implementing a chat encryption feature in an iOS app, and I...
Extrabold asked 23/12, 2018 at 18:50

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

4

Solved

I have an RSA public key modulus and exponent string. I want to create a OpenSSL::PKey::RSA from these two strings. Basically they come in as: n = 'long string' e = '4-character string' How w...
Pacifist asked 8/9, 2017 at 16:53

6

Solved

I have this RSA public key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtixUGzGpLXgZ7AV1HfmIHV/FEF+fww77FekRc2oLhUOd4HitwCPo76fjtdsQBEt8w9HZ3CXVphaAU2BA6MEZJ3ShVMsdAXb2ZA1C+lu7k1GV9M/BhucTg35HujSK...
Argosy asked 27/3, 2012 at 0:16

4

I have an app deployed with docker, one of the microservices is a jboss/keycloak server. Everything works fine, but keycloak RSA public key need to be retrieved manually. Is it possible to retrieve...
Quip asked 14/7, 2018 at 10:6

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

© 2022 - 2024 — McMap. All rights reserved.