Class WrappedHybridEncrypt
- java.lang.Object
-
- com.google.crypto.tink.hybrid.internal.WrappedHybridEncrypt
-
public final class WrappedHybridEncrypt extends java.lang.ObjectThe implementation ofPrimitiveWrapper<HybridEncrypt>.The returned primitive works with a keyset (rather than a single key). To encrypt a plaintext, it uses the primary key in the keyset, and prepends to the ciphertext a certain prefix associated with the primary key.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HybridEncryptcreate(KeysetHandleInterface keysetHandle, PrimitiveWrapper.PrimitiveFactory<HybridEncrypt> factory)
-
-
-
Method Detail
-
create
public static HybridEncrypt create(KeysetHandleInterface keysetHandle, PrimitiveWrapper.PrimitiveFactory<HybridEncrypt> factory) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-