...

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

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

     1# generated from the original tests.
     2# Henceforth it may be nicer to group tests into separate files.
     3-- in.cue --
     4import "crypto/sha512"
     5
     6t1: len(sha512.Sum512("hash me"))
     7t2: len(sha512.Sum384("hash me"))
     8t3: len(sha512.Sum512_224("hash me"))
     9t4: len(sha512.Sum512_256("hash me"))
    10-- out/sha512 --
    11t1: 64
    12t2: 48
    13t3: 28
    14t4: 32

View as plain text