Class ChaChaCipher.Builder

java.lang.Object
cloud.opencode.base.crypto.symmetric.ChaChaCipher.Builder
Enclosing class:
ChaChaCipher

public static class ChaChaCipher.Builder extends Object
Builder class for ChaCha20-Poly1305 cipher. ChaCha20-Poly1305 加密器构建器。
Since:
JDK 25, opencode-base-crypto V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public ChaChaCipher build()
      Build the ChaCha20-Poly1305 cipher instance. 构建 ChaCha20-Poly1305 加密实例。
      Returns:
      ChaCha20-Poly1305 cipher instance / ChaCha20-Poly1305 加密实例