...

Text file src/cuelang.org/go/pkg/crypto/sha256/testdata/gen.txtar

Documentation: cuelang.org/go/pkg/crypto/sha256/testdata

     1# generated from the original tests.
     2# Henceforth it may be nicer to group tests into separate files.
     3-- in.cue --
     4import "crypto/sha256"
     5
     6t1: sha256.Sum256("hash me")
     7t2: len(sha256.Sum256("hash me"))
     8t3: len(sha256.Sum224("hash me"))
     9-- out/sha256 --
    10t1: '\xeb \x1a\xf5\xaa\xf0\xd6\x06)\xd3Ҧ\x1eFl\xfc\x0f\xed\xb5\x17\xad\xd81\xec\xacR5\xe1کc\xd6'
    11t2: 32
    12t3: 28

View as plain text