Questions tagged [sha-512]

SHA-512 is part of the SHA-2 family of hash functions with a 512-bit output and a 256-bit security level.

SHA-512 is one of the algorithms in the SHA-2 family of cryptographic hash functions defined by NIST. It processes input in 1024-bit blocks, and has a 512-bit output, for a 256-bit security level. It is defined in terms of operations on 64-bit words.

External links

129 questions
4
votes
1 answer

What is SHA-512's input space, taking into account variable message size?

The SHA-512 hash function accepts any message from a single bit to $2^{128}$ bits. Because the function takes into account the message length, I can't just represent every message as a $2^{128}$-bit integer. I'm sure this is a very basic question,…
forest
  • 15,253
  • 2
  • 48
  • 103
4
votes
2 answers

What is the purpose of placing the most significant byte first?

When the SHA algorithm states "A block of 128 bits is appended to the message. This block is treated as an unsigned 128-bit integer (most significant byte first) [emphasis added] and contains the length of the original message (before the…
2
votes
1 answer

Using a SHA512 hash to encrypt data

How can I judge the level of security with the following algorithm: I create a 64 byte hash using SHA512 via some input. I use this hash to iterate over the plaintext, byte by byte, and similarly iterate over the hash byte by byte XORing each byte…
Ron
  • 121
  • 2
2
votes
1 answer

Is this approach to generating a "random" number from a sha512 hash effective?

I'm looking to run a small raffle but i'd like people to be able to verify that the number chosen was fair. I know some sites use a "Provably Fair" system to achieve this where user input is combined with a secret string which is then hashed to…
user2441938
  • 77
  • 1
  • 4
1
vote
1 answer

Can I find a specific SHA512 for an partially-known string?

I have a plain text string "I-like-drawwing", and this string has a SHA512 value, assume the SHA512 is "aabbcc". Then I show SHA512 "aabbcc" to my friend and say: "this is SHA512 for my string, and my string ended with 'ing', I bet $20 that you…
Hu Bin
  • 121
  • 4