Java/C# Bouncy CaSTLe 轻量级 API 中是否有 CTR(计数器)操作模式的实现?
最佳答案
是的,您可以使用org.bouncycaSTLe.crypto.modes.SICBlockCipher
。
该类的文档如下:
Implements the Segmented Integer Counter (SIC) mode on top of a simple block cipher. This mode is also known as CTR mode.
请注意,SICBlockCipher
类似乎没有实现大型 key 流的缓冲。它也不提供从 key 流中的特定偏移量进行加密/解密的功能。至少在 API 级别 1.51 以下的类版本中是这样。
关于java - Bouncy CaSTLe 轻量级 API 中的 CTR 操作模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25388347/