- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleSum256 (0.17 sec)
-
src/crypto/sha256/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sha256_test import ( "crypto/sha256" "fmt" "io" "log" "os" ) func ExampleSum256() { sum := sha256.Sum256([]byte("hello world\n")) fmt.Printf("%x", sum) // Output: a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447 } func ExampleNew() { h := sha256.New()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 17:29:19 UTC 2016 - 817 bytes - Viewed (0)