chore(i18n,chn): manually downloaded curriculum (#42858)

This commit is contained in:
Mrugesh Mohapatra
2021-07-15 13:04:11 +05:30
committed by GitHub
parent eef1805fe6
commit 7eb0630f2d
248 changed files with 5645 additions and 2149 deletions

View File

@ -8,11 +8,11 @@ dashedName: sha-256
# --description--
**[SHA-256](https://en.wikipedia.org/wiki/SHA-256)** is the recommended stronger alternative to [SHA-1](https://rosettacode.org/wiki/SHA-1).
The `SHA-2` family is a stronger alternative to `SHA-1`. The main difference between them is the length of the hash. Meaning `SHA-1` provides a shorter code with fewer possibilities for unique combinations. `SHA-2` or `SHA-256` creates a longer and thus more complex hash with more possibilities.
# --instructions--
Write a function that takes a string as a parameter and returns its SHA-256 digest.
Research implemenation details and write a function that takes a string as the parameter and returns a hash using `SHA-256`
# --hints--