示例#1
0
文件: HKDF.java 项目: pha88/pitaya
 @Override
 public String toString() {
   return XObjects.toStringBuilder("HKDF")
       .append("MAC", algorithm)
       .append("info", "0x" + BaseEncoding.BASE_16.encode(info))
       .append("dkLen", dkLen)
       .toString();
 }
示例#2
0
 private byte[] hex(String hex) {
   return BaseEncoding.BASE_16.decode(hex);
 }