View Javadoc
1   package cn.home1.oss.lib.common.crypto;
2   
3   /**
4    * Created by zhanghaolun on 16/11/17.
5    */
6   public interface KeyGenerator {
7   
8     String getSpec();
9   
10    KeyExpression generateKey();
11  
12    KeyExpression getKey(String spec);
13  }