Bouncy Castle 加密库通过 SHA256 进行哈希处理
我想在 Blackberry 应用程序中执行 SHA256 哈希。搜索后,我发现 Bouncy Castle 项目有一个用于此目的的加密库,但我找不到任何示例来展示如何使用 SHA256 哈希。
I want to perform SHA256 hashing in a Blackberry application. Searching, I found the Bouncy Castle project has a crypto library for this, but I can't find any samples to show how to use SHA256 hashing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需将 user598312 的答案重新发布为响应而不是评论,以便人们知道解决方案。
Just reposting user598312's answer as a response instead of a comment, so people know the solution.
BlackBerry 内置了 BouncyCastle API 中几乎所有内容的实现。对于 SHA256,有 SHA256Digest< /a>.
BlackBerry has built-in implementations of nearly everything in the BouncyCastle API. For SHA256, there is SHA256Digest.