public class LegacyPathEncryptor extends Object implements LegacyPathEncryptionConfig
LegacyPathDigestConfig and
encodes resulting bytes using Base64-urlsafe encoding.| Constructor and Description |
|---|
LegacyPathEncryptor(LegacyPathDigestConfig config) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
byteDeserializer(String input) |
String |
byteSerializer(byte[] bytes) |
Cipher |
decryptionCipher(SecretKey secretKey) |
Cipher |
encryptionCipher(SecretKey secretKey) |
@Inject public LegacyPathEncryptor(LegacyPathDigestConfig config)
public Cipher encryptionCipher(SecretKey secretKey)
encryptionCipher in interface LegacyPathEncryptionConfigpublic Cipher decryptionCipher(SecretKey secretKey)
decryptionCipher in interface LegacyPathEncryptionConfigpublic String byteSerializer(byte[] bytes)
byteSerializer in interface LegacyPathEncryptionConfigpublic byte[] byteDeserializer(String input)
byteDeserializer in interface LegacyPathEncryptionConfigCopyright © 2019. All rights reserved.