sha Questions

5

Solved

I created this program to calculate the sha256 or sha512 hash of a given file and digest calculations to hex. It consists of 5 files, 4 are custom modules and 1 is the main. I have two functions in...
Occasionalism asked 6/10 at 6:27

19

Solved

I am using php mysqli_connect for login to a MySQL database (all on localhost) <?php //DEFINE ('DB_USER', 'user2'); //DEFINE ('DB_PASSWORD', 'pass2'); DEFINE ('DB_USER', 'user1'); DEFINE ('DB_P...
Mchugh asked 25/4, 2018 at 16:15

1

I started a fresh container from jenkinsci/blueocean docker image in my Ubuntu 16.04 LTS server. Container started fine and I am able to see Jenkins console perfectly. When I am trying to install a...
Burgoyne asked 2/6, 2019 at 15:10

2

Haven't worked in Python much and I'm obviously not sending the proper signature being asked for. How do I hash it and pass it in properly? SIGNED endpoints require an additional parameter, signat...
Kane asked 2/2, 2018 at 23:46

5

Solved

I'm trying to get the SHA256 of a string in Android. Here is the PHP code that I want to match: echo bin2hex(mhash(MHASH_SHA256,"asdf")); //outputs "f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3...
Cheapjack asked 23/8, 2011 at 18:59

2

Solved

I am currently running a Jupyter lab service on my Ubuntu 18.04 server. I have set the password on my lab using the following command: $ jupyter notebook --generate-config $ jupyter notebook passwo...
Gitagitel asked 5/2, 2021 at 12:55

5

Solved

I'm trying to create a signature for a privately stored file in Google Cloud Storage; so that I can distribute a time-limited link. Currently doing this and it makes a signature that's too short ....
Asel asked 24/12, 2013 at 3:0

5

Solved

Is it possible to create a user in PostgreSQL without providing the plain text password (ideally, I would like to be able to create a user providing only its password crypted with sha-256) ? What ...
Isaiasisak asked 2/7, 2013 at 15:2

3

I have a certificate mycert.pem . I got the public key of the certificate by command: openssl x509 -pubkey -noout -in mycert.pem > pubkey.pem How can I get the SHA256 hash of the public key? ...
Nerti asked 19/3, 2018 at 14:26

2

Solved

How to Hex Encode a SHA-256 hash properly in C#? private static string ToHex(byte[] bytes, bool upperCase) { StringBuilder result = new StringBuilder(bytes.Length * 2); for (int i = 0; i < b...
Retrace asked 13/9, 2017 at 10:11

3

Solved

First, a little background: I'm investigating why my company's MacOS/X application (which by all accounts appears to be correctly signed; it runs fine under MacOS/X 10.11.x and 10.12.x; Gatekeeper ...
Vivacious asked 26/1, 2017 at 3:35

4

Solved

I am interested in applying a SHA-1 hash with RSA signature to some data, but I need to do it in two steps - apply hash first and then sign the data. The Signature.sign() function appears to create...
Fetor asked 3/4, 2014 at 14:11

4

Solved

I have a problem, maybe a silly question, I want to store data in a database after I hash with the SHA1 algorithm. However, at a future time, the size in database will increase because size words i...
Ladida asked 6/6, 2011 at 10:25

7

I need to create a SHA-256 digest from a file (~6MB) inside the browser. The only way that I've managed to do it so far was like this: var reader = new FileReader(); reader.onload = function() { /...
Beret asked 13/2, 2014 at 17:36

3

Solved

I want to verify that my SSH key in github matches the local file on my computer. The github key seems to be SHA256, encoded in base64, but my local key, encoded with this command doesn't seem to ...
Vinegarette asked 15/12, 2021 at 22:40

4

Solved

I need to generate an SHA-256 checksum from a string that will be sent as a get param. If found this link to generate the checksum. Genrating the checksum like so: val digest = MessageDigest.ge...
Lafond asked 20/9, 2017 at 19:5

2

If I've downloaded a file with a known SHA256 hash, how can I use PowerShell to check that the file matches the expected hash?
Catfall asked 13/8, 2020 at 13:47

5

Solved

In .NET 6 code from How can I SHA512 a string in C#? var data = Encoding.UTF8.GetBytes("key"); byte[] hash; using (SHA512 shaM = new SHA512Managed()) hash = shaM.ComputeHash(data); T...
Uranalysis asked 25/11, 2021 at 10:34

7

Solved

What are the differences between SHA1 and RSA? Are they just different algorithms or are they fundamentally (i.e. used for different things) different on some level.
Petrapetracca asked 9/4, 2009 at 10:47

1

Solved

I am generating JWT with the HS512 algorithm. A secret key is used to sign the header and content. Presently I am using the key as follows: q1w2e3r4t5y6u7i8o9p0 What are the ideal characteristics o...
Aharon asked 15/2, 2022 at 8:27

3

is it true that e-mail can be deduplicated by just using some of their headers as according to RFC their message-id should be unique? Is there any way to calculate the chance of 1 single email bee...
Zerk asked 3/4, 2014 at 15:6

3

Solved

According to the books that i have read, it says that S.H.A(Secure Hash Algorithm) is collision resistant.But if the input space is a 1024 bit number and the output space is a 512 bit message diges...
Drudgery asked 12/3, 2016 at 7:26

5

Solved

I am trying to interact with third party real time Web messaging System created and maintained by Pusher.com. Now, i cannot send anything through the API unless i produce an HMAC SHA256 hex digest ...
Aila asked 20/1, 2012 at 13:47

3

Solved

I love to use tig client to navigate through git commits. But I'm missing one thing for now. Is there a key binding to take a sha number of a git commit I'm currently staying at?
Violative asked 27/9, 2018 at 18:7

4

Solved

I'm completely new to cryptography, but learning. I've pieced together many different suggestions from my research online, and have made my own class for handling the hash, salt, key stretching, an...
Abel asked 17/9, 2014 at 19:42

© 2022 - 2024 — McMap. All rights reserved.