public class EncryptorFactoryImpl extends EncryptorFactory
Constructor and Description |
---|
EncryptorFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Encryptor |
getDefaultEncryptor()
Default encryptor that encrypts/descrypts using a default key.
|
Encryptor |
newRandomEncryptor()
Creates a new encryptor initialized with a random encryption key.
|
getInstance
public Encryptor getDefaultEncryptor()
EncryptorFactory
getDefaultEncryptor
in class EncryptorFactory
public Encryptor newRandomEncryptor()
EncryptorFactory
newRandomEncryptor
in class EncryptorFactory
Copyright © 2022. All rights reserved.