Bitcoin Forum
April 30, 2024, 03:01:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for an linux (or windows) offline SHA-256 binary calculator  (Read 526 times)
Zellko (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 17, 2018, 05:44:45 PM
 #1

Hello guys,

Do you know any SHA-256 binary hash calculator, like this online one:

https://cryptii.com/hash-function

The goal is to create my own seed from 256 bits generate with a dice, then to the binary sha-256 hash in order to find the last 8 bits (checksum) for my seed.

For obvious security reasons, I want to use a old, offline computer using tails live-cd.

Thanks,
1714489298
Hero Member
*
Offline Offline

Posts: 1714489298

View Profile Personal Message (Offline)

Ignore
1714489298
Reply with quote  #2

1714489298
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6565


Just writing some code


View Profile WWW
June 17, 2018, 06:33:01 PM
 #2

You can use OpenSSL's hashing command. Or you can write your bytes to a file (with a hex editor or something) and hash the file using sha256sum which comes standard in most linux distributions.

RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
June 18, 2018, 02:08:15 AM
Merited by nc50lc (1)
 #3

If you're using Windows and you'd rather not have to install any additional software, there's a certutil command available to calculate hashes (among other things).

To calculate a hash, do  certutil -hashfile filename algorithm

For example, certutil -hashfile image.png SHA256

The available hash algorithms are MD2, MD4, MD5, SHA1, SHA256, SHA384, and SHA512.
rpstatic
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
June 20, 2018, 05:48:55 AM
 #4

I am not sure about tails, but under Ubuntu you can just use
Code:
echo -n "Message" | sha256sum

Don't forget the "-n" otherwise you will hash your message including a newline.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!