Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

SHA 256(Base 64) Encryption from AIX command


  • Please log in to reply
1 reply to this topic

#1 kruyoupatel

kruyoupatel

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:06:34 PM

Posted 05 October 2015 - 10:01 AM

Hello Guys,
 
I was trying to have an SHA256 encryption which further be encrypted into base 64 using AIX unix command shasum -a 256.
 
What I found in this is my output is different than a website: http://www.online-convert.com
 
Actually conversion from website is exactly matching my requirements but same when I am trying to achieve using AIX Unix commands unable to get matching result.
 
Can anyone help to resolve this.


BC AdBot (Login to Remove)

 


#2 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 06 October 2015 - 12:05 AM

I have never used AIX, but on ElementaryOS (a GNU/Linux distro) the same program "shasum" installed (though I prefer using sha256sum). The command "shasum -a 256" uses the SHA-2 hashing algorythm to create an SHA-256 checksum. If you wish to create a base64 output of that you'll need to use another program. On ElementaryOS there is a program called "base64" pre-installed, perhaps it's on AIX too? Type "base64 --help" to see if it's installed. If not, you'll need to find a program that supports base64 encoding/decoding.

I gave Online-convert.com a try, but it's base64 feature doesn't seem to be working properly, because it does not decode to the expected result.

Additional Information:

Spoiler

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users