public abstract class EncryptorFactory extends Object
Constructor and Description |
---|
EncryptorFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Encryptor |
getDefaultEncryptor()
Default encryptor that encrypts/descrypts using a default key.
|
static EncryptorFactory |
getInstance()
Get the singleton instance of the
EncryptorFactory . |
abstract Encryptor |
newRandomEncryptor()
Creates a new encryptor initialized with a random encryption key.
|
public static EncryptorFactory getInstance()
EncryptorFactory
.public abstract Encryptor getDefaultEncryptor()
public abstract Encryptor newRandomEncryptor()
Copyright © 2019. All rights reserved.