可加密和解密字符串的TCL代码 [英] TCL code that can encrypt and decrypt a string
问题描述
任何建议或已经可用的代码将会很好!
请帮助我。谢谢!
安装 tcllib 。在tcllib中实现了几种标准加密算法。
以下加密算法可用:
- blowfish: http://tcllib.sourceforge.net/doc/blowfish.html
- aes: http://tcllib.sourceforge。 net / doc / aes.html
- des(包括三重des): http://tcllib.sourceforge.net/doc/des.html
- rc4: http://tcllib.sourceforge.net/doc/rc4.html
I need a piece of code that defines functions which can encrypt and decrypt a piece of string. What I basically want is that the string should not be visible to third-party users, so that when the string originates in one file, it is converted to, say, an integer value using the encrypt function and then it is passed as parameter to another file. There the decrpyt function then decrypts it back and uses the string to perform actions on it.
Any suggestions or already available codes will be just fine!
Please help me out. Thanks!
Install tcllib. There are several standard encryption algorithms implemented in tcllib.
The following encryption algorithms are available:
- blowfish: http://tcllib.sourceforge.net/doc/blowfish.html
- aes: http://tcllib.sourceforge.net/doc/aes.html
- des (including triple des): http://tcllib.sourceforge.net/doc/des.html
- rc4: http://tcllib.sourceforge.net/doc/rc4.html
这篇关于可加密和解密字符串的TCL代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!