SHA-256 of Decoded Base64

Calculate a SHA-256 checksum of the bytes represented by Base64. Decode first so the digest describes the payload, rather than its encoded text.

Input: Base64 textResult: SHA-256 digest (hex)

Text input

Run to see the result

Examples

Bitcoin genesis newspaper headline

Input

VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtz

Expected answer

a6d72baa3db900b03e70df880e503e9164013b4d9a470853edc115776323a098
A registry credential from Kubernetes documentation

Input

dGlnZXI6cGFzczEyMzQ=

Expected answer

fe1f3840edb48d1963b07a5b04f83f00974f59b69f772f6c9c2bd88aac916eee
A checksum-sensitive log line with a final newline

Input

ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo=

Expected answer

df94d052096ee71cc4419345b2e30243654d10ac9003c622abbd43b1c7bc27d3
A French café in precomposed Unicode

Input

Y2Fmw6k=

Expected answer

850f7dc43910ff890f8879c0ed26fe697c93a067ad93a7d50f466a7028a9bf4e
A French café with a separate combining accent

Input

Y2FmZcyB

Expected answer

81ef060bcd98adc7824eb5c1ada83c32491b16018e11e79f00ab9d09e04b015a
Chinese text in a UTF-8 request body

Input

5L2g5aW977yM5LiW55WM

Expected answer

46932f1e6ea5216e77f58b1908d72ec9322ed129318c6d4bd4450b5eaab9d7e7
A literal plus and space inside a URL parameter

Input

cmVsZWFzZSBub3RlcytBL0I/

Expected answer

16f7aa833be1220104d7ac509ffee6620ef273a290d920e4551eaa5c02a5e470

How the result is produced

  1. Base64 Decoder
  2. SHA-256 & SHA-512 Hash Generator

Conventions and limitations

A checksum alone does not authenticate a sender. Matching a trusted digest requires the same byte encoding, line endings and trailing newline conventions.

Related tools

Browse hashing tools