This page is still under construction.

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

SHA-512

Time limit1sMemory limit256 MB

Summary
Print the SHA-512 hash of an alphanumeric string up to 50 characters long as lowercase hexadecimal.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Given a string SS, compute its SHA-512 hash.

Input

One line with string SS. SS contains only uppercase letters, lowercase letters, and digits. ∣S∣≤50|S| \leq 50.

Output

Print the SHA-512 hash of SS as a lowercase hexadecimal string.

Examples4

  1. Example 1

    Input
    Baekjoon
    
    Expected output
    40529e337a46dadc9473d7ed1b16c74868c996d79573c75784e6da37a51394abecfe26414e5097873c31de0dae0b1ef5dab7718d46aa629da3a72c80a0eeeef2
    
  2. Example 2

    Input
    hello
    
    Expected output
    9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
    
  3. Example 3

    Input
    ABC123
    
    Expected output
    8c9333343c6c4222418edb1d7c9f84d051610526085960a1732c7c3d763fff64ec7f5220998434c896dda243ae777d0fb213f36b9b19f7e4a244d5c993b8dfed
    
  4. Example 4

    Input
    Test123
    
    Expected output
    c12834f1031f6497214f27d4432f26517ad494156cb88d512bdb1dc4b57db2d692a3dfa269a19b0a0a2a0fd7d6a2a885e33c839c93c206da30a187392847ed27