This page is still under construction.

Parts of this page are still being built. What you see may change.

SHA-224

Time limit1sMemory limit256 MB

Summary
Print the 56-digit lowercase hexadecimal SHA-224 hash of the given alphanumeric string.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

You are given a string SS. Write a program that computes the SHA-224 hash of SS.

SHA-224 produces a 224-bit hash, so writing the result in hexadecimal always takes 56 digits. Most languages ship a SHA-224 implementation in the standard library or in a common cryptography library.

Input

The first line contains the string SS. SS consists only of uppercase letters, lowercase letters, and digits, and its length is at most 50.

Output

Print the SHA-224 hash of SS on the first line. Print it as 56 hexadecimal digits, using lowercase letters.

Examples2

  1. Example 1

    Input
    HashMaster
    
    Expected output
    983010149155c967387a7519bb897ff76957ccac3b821d5ac5afa522
    
  2. Example 2

    Input
    Su3
    
    Expected output
    64f6cf8162cfca826cb7baac461953f9066986acb326518752c56007