public final class MD5ShardingEncryptor extends Object implements ShardingEncryptor
| Constructor and Description |
|---|
MD5ShardingEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decrypt(String ciphertext) |
String |
encrypt(Object plaintext) |
String |
getType() |
void |
init() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperties, setPropertiespublic String getType()
getType in interface TypeBasedSPIpublic void init()
init in interface ShardingEncryptorpublic String encrypt(Object plaintext)
encrypt in interface ShardingEncryptorpublic Object decrypt(String ciphertext)
decrypt in interface ShardingEncryptorCopyright © 2020 The Apache Software Foundation. All rights reserved.