Top "Sha" questions

SHA (Secure Hash Algorithm) is a family of digest algorithms (i.e. cryptographic hashes), i.e. checksum functions that are hard to forge.

How to cherry-pick the last sha from another branch in Git with 1 command?

I find myself doing this a lot when cherry-picking a commit from another branch. $ git log -1 another_branch commit &…

git git-branch sha git-cherry-pick
Creating a hash from several Java string objects

What would be the fastest and more robust (in terms of uniqueness) way for implementing a method like public abstract …

java hash md5 hashcode sha
Probability of hash collision

I am looking for some precise math on the likelihood of collisions for MD5, SHA1, and SHA256 based on the …

math hash probability sha birthday-paradox
How does Git(Hub) handle possible collisions from short SHAs?

Both Git and GitHub display short versions of SHAs -- just the first 7 characters instead of all 40 -- and both …

git cryptography github sha
Are there in x86 any instructions to accelerate SHA (SHA1/2/256/512) encoding?

An example, in x86 are Instruction Set to hardware acceleration AES. But are there in x86 any instructions to accelerate …

c++ c cryptography x86 sha
Compute SHA256 Hash in Android/Java and C#

I am trying to generate a SHA256 hash in android, that I then pass to an ASP.NET Web API …

android asp.net security sha asp.net-web-api
Using ruby to generate SHA512 crypt-style hashes formatted for /etc/shadow?

I want to generate SHA512 hashed passwords for inclusion directly into a /etc/shadow file for use with chef's user …

ruby encryption passwords sha crypt
How to correctly generate SHA-256 checksum for a string in scala?

I need to generate an SHA-256 checksum from a string that will be sent as a get param. If found …

scala sha
how to encode/decode a simple string

I'm very new to encryption, I need to encode a simple string like 'ABC123' into something similar to that …

python encryption hash sha
How to find a Github file 's SHA blob

I'm using this API to update a file on my repo, it requires me to have a valid SHA blob …

git github sha github-api