SASL password normalization

一个人想着一个人 提交于 2020-01-17 06:38:21

问题


there is very simple question - can you normalize for me some password, because I can't understand how it works? So, there is password: "IDoMdGuFE9S0", how it looks in "normalized" view? There are only alphanumeric ascii characters. Does result and original be equal?

PS: Sorry for my bad English.


回答1:


I'm assuming with "normalized" you mean SASLpreped. In the case of "IDoMdGuFE9S0", the output is the same as the input (it is fully ASCII, with no control sequences or U+00AD).

If you're writing an application that uses SASL, you should find a library to do this for you.



来源:https://stackoverflow.com/questions/32728223/sasl-password-normalization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!