File: digest.go

package info (click to toggle)
golang-github-go-crypt-crypt 0.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 516 kB
  • sloc: makefile: 4
file content (10 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
package encoding

import (
	"strings"
)

// Split an encoded digest by the encoding.Delimiter.
func Split(encodedDigest string, n int) (parts []string) {
	return strings.SplitN(encodedDigest, DelimiterStr, n)
}