Uses of Interface
cloud.opencode.base.crypto.mac.Mac
Packages that use Mac
-
Uses of Mac in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return MacModifier and TypeMethodDescriptionstatic MacGeneric HMAC factory for any JCA algorithm name.static MacOpenCrypto.hmacMd5(byte[] key) HMAC-MD5 — legacy opt-in, deprecated.static MacOpenCrypto.hmacSha1(byte[] key) HMAC-SHA1 — legacy opt-in, deprecated.static MacOpenCrypto.hmacSha256(byte[] key) HMAC-SHA256 HMAC-SHA256static MacOpenCrypto.hmacSha384(byte[] key) HMAC-SHA384 HMAC-SHA384static MacOpenCrypto.hmacSha512(byte[] key) HMAC-SHA512 HMAC-SHA512 -
Uses of Mac in cloud.opencode.base.crypto.mac
Classes in cloud.opencode.base.crypto.mac that implement MacModifier and TypeClassDescriptionfinal classHMAC-SHA256 implementation - Hash-based Message Authentication Code using SHA-256 HMAC-SHA256 实现 - 基于 SHA-256 的哈希消息认证码final classHMAC-SHA512 implementation - Hash-based Message Authentication Code using SHA-512 HMAC-SHA512 实现 - 基于 SHA-512 的哈希消息认证码final classGeneric JCA HMAC wrapper for any algorithm name supported by the JDK provider.final classPoly1305 MAC implementation - One-time authenticator using Bouncy Castle Poly1305 消息认证码实现 - 使用 Bouncy Castle 的一次性认证器Methods in cloud.opencode.base.crypto.mac that return MacModifier and TypeMethodDescriptionHmacSha256.reset()HmacSha512.reset()JcaHmac.reset()Mac.reset()Resets the MAC to its initial state 将 MAC 重置为初始状态Poly1305.reset()HmacSha256.update(byte[] data) HmacSha512.update(byte[] data) JcaHmac.update(byte[] data) Mac.update(byte[] data) Updates the MAC with a chunk of data (for incremental computation) 使用数据块更新 MAC(用于增量计算)Updates the MAC with a string (UTF-8 encoded) 使用字符串更新 MAC(UTF-8 编码)Poly1305.update(byte[] data)