ニュースに戻る
Thailand

crypto/sha512(加密/sha512)

The provided code snippet demonstrates the usage of the Go standard library for cryptographic hashing. It imports the necessary crypto/sha256 package to perform the hash operation on a byte slice. The main function calculates the SHA256 checksum for the string 'hello world\n'. Finally, the output is printed to the console in hexadecimal format.

Original source
m.php.cn

取引所

トップ取引所 — トレーダーのために厳選

crypto/sha512(加密/sha512)