Documentation ¶ Index ¶ func Decrypt(in string, key Key) string func Encrypt(in string, key Key, noiseMin int64, noiseMax int64) string type Key func GenKey(reservedRunes []rune, replacementsCount int) Key type Replacements Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(in string, key Key) string func Encrypt ¶ func Encrypt(in string, key Key, noiseMin int64, noiseMax int64) string Types ¶ type Key ¶ type Key struct { Replacements Replacements PotentialNoise []rune } func GenKey ¶ func GenKey(reservedRunes []rune, replacementsCount int) Key type Replacements ¶ type Replacements map[rune][]rune Source Files ¶ View all Source files noisy.go Click to show internal directories. Click to hide internal directories.