뉴스로 돌아가기
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.

원문 출처
m.php.cn

거래소

트레이더를 위해 엄선한 톱티어

crypto/sha512(加密/sha512)