1 package cn.home1.oss.lib.common.crypto;
2
3 /**
4 * A decryptor decode and decrypt then output the plain text.
5 * Created by zhanghaolun on 16/11/17.
6 */
7 public interface EncodeDecryptor {
8
9 /**
10 * decode and decrypt.
11 *
12 * @param encryptedAndEncoded encrypted and encoded
13 * @return plain text
14 */
15 String decrypt(String encryptedAndEncoded);
16 }