type golang.org/x/crypto/ssh.truncatingMAC
7 uses
golang.org/x/crypto/ssh (current package)
mac.go#L24: type truncatingMAC struct {
mac.go#L29: func (t truncatingMAC) Write(data []byte) (int, error) {
mac.go#L33: func (t truncatingMAC) Sum(in []byte) []byte {
mac.go#L38: func (t truncatingMAC) Reset() {
mac.go#L42: func (t truncatingMAC) Size() int {
mac.go#L46: func (t truncatingMAC) BlockSize() int { return t.hmac.BlockSize() }
mac.go#L59: return truncatingMAC{12, hmac.New(sha1.New, key)}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |