| Package | Description |
|---|---|
| org.craftercms.commons.crypto | |
| org.craftercms.commons.crypto.impl |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
SimpleCipher.decrypt(byte[] encrypted) |
String |
TextEncryptor.decrypt(String encrypted)
Decrypts the specified encrypted text.
|
String |
SimpleCipher.decryptBase64(String encrypted) |
byte[] |
SimpleCipher.encrypt(byte[] clear) |
String |
TextEncryptor.encrypt(String clear)
Encrypts the specified clear text.
|
String |
SimpleCipher.encryptBase64(String clear) |
SecretKey |
SecretKeyRepository.getKey(String name,
boolean create)
Returns the secret key for the specified key name
|
void |
SecretKeyRepository.saveKey(String name,
SecretKey key)
Saves the secret key in the repository, with the specified name
|
void |
SimpleDigest.setAlgorithm(String algorithm) |
| Modifier and Type | Method and Description |
|---|---|
String |
AesTextEncryptor.decrypt(String encrypted) |
String |
NoOpTextEncryptor.decrypt(String encrypted) |
String |
AesTextEncryptor.encrypt(String clear) |
String |
NoOpTextEncryptor.encrypt(String clear) |
SecretKey |
SecretKeyRepositoryImpl.getKey(String name,
boolean create) |
void |
SecretKeyRepositoryImpl.init() |
protected void |
SecretKeyRepositoryImpl.loadKeyStore() |
void |
SecretKeyRepositoryImpl.saveKey(String name,
SecretKey key) |
protected void |
SecretKeyRepositoryImpl.storeKeyStore() |
| Constructor and Description |
|---|
PbkAesTextEncryptor(String password,
String salt) |
Copyright © 2018 CrafterCMS. All rights reserved.