Palm WebOS 中的加密
我的问题与
我的问题是如何在webos中实现md5加密?
My question is related to the one here. I know how to send the credentials to a service. What I need is a way to encrypt those credentials. In browser javascript/ajax, when I need to access a service, I put an ajax call in to a php script, which used hash_hmac('md5', $data, $key) as the encryption method. I need to use md5, but Mojo.model.encrypt in webos only uses Blowfish.
My question is how can I implement md5 encryption in webos?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要自己的 MD5 库。 Palm 提供的一些设备上的应用程序实际上就是这样做的。一种 BSD 许可的实现可在 http://pajhome.org.uk/crypt/ md5/md5.html。
You need your own MD5 library. Some of the on-device apps shipped by Palm actually do this. One BSD-licensed implementation is available at http://pajhome.org.uk/crypt/md5/md5.html.
看起来现在有一个服务:https://developer。 palm.com/content/api/reference/services/key-manager.html
Looks like there's a service for this now: https://developer.palm.com/content/api/reference/services/key-manager.html