diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-23 21:02:22 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-23 21:02:22 -0700 |
| commit | 3c2c07a69daf75d377ba196c28524c0fc6a16db6 (patch) | |
| tree | 83a1c9ea49bc8c0927f8de2ed9f3b933f29759f0 /encryptionalg_string.go | |
| parent | c241eeb8ad4baafa75691ffb140029ec54cb349e (diff) | |
| download | sym-3c2c07a69daf75d377ba196c28524c0fc6a16db6.tar.zst | |
Move sym files into the root directory
Diffstat (limited to 'encryptionalg_string.go')
| -rw-r--r-- | encryptionalg_string.go | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/encryptionalg_string.go b/encryptionalg_string.go new file mode 100644 index 0000000..b7384ee --- /dev/null +++ b/encryptionalg_string.go @@ -0,0 +1,25 @@ +// Code generated by "stringer -type=encryptionAlg -linecomment"; DO NOT EDIT. + +package sym + +import "strconv" + +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[encryptionAlgInvalid-0] + _ = x[encryptionAlgAES256_GCM-1] +} + +const _encryptionAlg_name = "encryptionAlgInvalidAES-256-GCM" + +var _encryptionAlg_index = [...]uint8{0, 20, 31} + +func (i encryptionAlg) String() string { + idx := int(i) - 0 + if i < 0 || idx >= len(_encryptionAlg_index)-1 { + return "encryptionAlg(" + strconv.FormatInt(int64(i), 10) + ")" + } + return _encryptionAlg_name[_encryptionAlg_index[idx]:_encryptionAlg_index[idx+1]] +} |
