Application of ternary quasigroups to string processing | Synapse