From 3c2c07a69daf75d377ba196c28524c0fc6a16db6 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Thu, 23 Oct 2025 21:02:22 -0700 Subject: Move sym files into the root directory --- pwhash_string.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pwhash_string.go (limited to 'pwhash_string.go') diff --git a/pwhash_string.go b/pwhash_string.go new file mode 100644 index 0000000..ceb4d1f --- /dev/null +++ b/pwhash_string.go @@ -0,0 +1,25 @@ +// Code generated by "stringer -type=pwHash -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[pwHashInvalid-0] + _ = x[pwHashPBKDF2_HMAC_SHA256-1] +} + +const _pwHash_name = "pwHashInvalidPBKDF2-HMAC-SHA256" + +var _pwHash_index = [...]uint8{0, 13, 31} + +func (i pwHash) String() string { + idx := int(i) - 0 + if i < 0 || idx >= len(_pwHash_index)-1 { + return "pwHash(" + strconv.FormatInt(int64(i), 10) + ")" + } + return _pwHash_name[_pwHash_index[idx]:_pwHash_index[idx+1]] +} -- cgit v1.3.1