Questions tagged [rsa-sha256]
56 questions
0
votes
2 answers
SFTP connection to a server using phpseclib and sha256
I have to connect to a SFTP server. I used first this code :
$Key = new RSA();
$Key->setPassword("password");
$Key->loadKey(file_get_contents('path_to_RSA_private_key'));
$sftp = new SFTP($IP_addr, $port_number);
if (!$sftp->login('username',…

Schonke
- 11
- 5
0
votes
0 answers
Java SHA256 Signature using Public Key in Andorid (25)
I am writing an application targeting Android 25 and I am trying to sign my HTTP query parameter String by using my public key. However, I am getting the following exception java.security.SignatureException: object not initialized for signing when…

F. Aydemir
- 2,665
- 5
- 40
- 60
0
votes
1 answer
Get the sha1-hashed value from XML signature value
I need someone to help me understand XML digital signature method rsa-sha1. I suppose the signature value = RSA-encrypt(sha1(signedInfo), privatekey).
Note Base64.encode(sha1(signedInfo)) contains 28 characters. So I think…

Dustin Sun
- 5,292
- 9
- 49
- 87
0
votes
0 answers
Java RSA Decrypt BadPaddingException
I'm working on small tool to encrypt and decrypt data base on RSA Algo.
I used openSSL to create private and public key. then import to java code and encrypt and decrypt data.
Fisrt, I use follow command to generate public and private key
openssl…

Tran Tam
- 699
- 3
- 14
- 27
0
votes
1 answer
What purpose for using randomly generated KeyPair to do sha256WithRSA signing?
I'm reversing an android apk, it uses http as protocol, each http request contains a timestamp and a signature, for example:
http://x/req?....×tamp=1501234567890&signature=....(256-byte rsa signature of timestamp '1501234567890')
The param…

aj3423
- 2,003
- 3
- 32
- 70
0
votes
1 answer
MQSC_UNSUPPORTED_CIPHER_SUITE on WAS7/8 for tls_rsa_with_aes_128_cbc_sha256
trying to set up Queue Connection factory on WAS 7 and 8.5.5 with SSL
MQ channel cipherspec is tls_rsa_with_aes_128_cbc_sha256.
but whenever I try specifying the respective suit on WAS as ssl_rsa_with_aes_128_cbc_sha256 , I get a…
0
votes
2 answers
Computing the JWT signature for Google OAuth Service Account using erlang?
I have created google service account and have JSON file containing private_key, client_email etc.
JWT should be created to get access token.
I have followed following step
Header computation:
Header = jsx:encode(#{<<"alg">> => <<"RS256">>,<<"typ">>…

Shree Ram Neupane
- 407
- 5
- 16
0
votes
1 answer
Difference between RSAwithSHA256 and SHA256
I need to sign XML SAML message with the SAML 2.0 standardised algorithm (RSAwithSHA256). But my saml plugin (passport-saml) only seems to support sha1 and sha256. The SHA256 sounds pretty close to RSAwithSHA256, but probably is not the same thing?…

Ville Miekk-oja
- 18,749
- 32
- 70
- 106
0
votes
2 answers
Certificate was deleted from Smart Card / Token while signing XML. How's that possible?
I had a few XML docs, each has around 50 to 100 individual blocks/ tags, that needed to be individually singed using SHA256 and send to a web service, so I've made a loop thru the docs and thru it nodes, got it all signed up using c# code…

Marisco
- 125
- 1
- 3
- 16
-1
votes
1 answer
What does a C++ project need to sign files with certificate (RSA-SHA256)
I am developing an app using Qt, and at some point, I was required to encrypt and "sign" a file provided a private certificate using SHA-256. I did a fair amount of readings on OpenSSL and certificates, but I am incapable of understanding how to…

AAS.N
- 183
- 1
- 18
-3
votes
1 answer
installing SSL sha256 in iis6.0
i have to install ssl certificate with sha256 algorithm in IIS6.0.And I have my own private key generated this during the CSR request,but not able to see the private key after installing SSL in IIS 6. Could you please help

supriya
- 16
- 1