mirror of
https://github.com/wweir/sower.git
synced 2024-04-21 12:42:15 +00:00
17 lines
450 B
Go
17 lines
450 B
Go
// Code generated by "stringer -type=typ cipher.go"; DO NOT EDIT.
|
|
|
|
package shadow
|
|
|
|
import "strconv"
|
|
|
|
const _typ_name = "AES_128_GCMAES_192_GCMAES_256_GCMCHACHA20_IETF_POLY1305XCHACHA20_IETF_POLY1305cipherEnd"
|
|
|
|
var _typ_index = [...]uint8{0, 11, 22, 33, 55, 78, 87}
|
|
|
|
func (i typ) String() string {
|
|
if i < 0 || i >= typ(len(_typ_index)-1) {
|
|
return "typ(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _typ_name[_typ_index[i]:_typ_index[i+1]]
|
|
}
|