Uses of Interface
cloud.opencode.base.crypto.symmetric.AeadCipher
Packages that use AeadCipher
Package
Description
-
Uses of AeadCipher in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return AeadCipherModifier and TypeMethodDescriptionstatic AeadCipherOpenCrypto.aesGcm()AES-GCM cipher (recommended) AES-GCM 加密(推荐)static AeadCipherOpenCrypto.aesGcm256()AES-256-GCM cipher AES-256-GCM 加密static AeadCipherOpenCrypto.chacha20Poly1305()ChaCha20-Poly1305 cipher ChaCha20-Poly1305 加密static AeadCipherOpenCrypto.sm4Gcm()SM4-GCM cipher (requires Bouncy Castle) SM4-GCM 加密(需要 Bouncy Castle) -
Uses of AeadCipher in cloud.opencode.base.crypto.symmetric
Classes in cloud.opencode.base.crypto.symmetric that implement AeadCipherModifier and TypeClassDescriptionfinal classAES-GCM cipher implementation - Authenticated Encryption with Associated Data AES-GCM 加密实现 - 关联数据认证加密final classChaCha20-Poly1305 cipher implementation - Modern AEAD cipher ChaCha20-Poly1305 加密实现 - 现代 AEAD 加密final classSM4 cipher implementation (Chinese national cryptographic standard).Methods in cloud.opencode.base.crypto.symmetric that return AeadCipherModifier and TypeMethodDescriptionAeadCipher.setAad(byte[] aad) Set additional authenticated data (AAD).AeadCipher.setIv(byte[] iv) Set the initialization vector.AeadCipher.setKey(byte[] key) Set the secret key from bytes.Set the secret key.AeadCipher.setNonce(byte[] nonce) Set the nonce (same as IV for most AEAD ciphers).AeadCipher.setTagLength(int tagBits) Set authentication tag length in bits. -
Uses of AeadCipher in cloud.opencode.base.crypto.versioned
Methods in cloud.opencode.base.crypto.versioned with parameters of type AeadCipherModifier and TypeMethodDescriptionVersionedCipher.Builder.addVersion(int version, AeadCipher cipher) Registers a cipher for the given version number.