public final class HMAC
extends java.lang.Object
| Constructor and Description |
|---|
HMAC() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
GPhashit(int hash,
int sha,
int pad,
int zpad,
byte[] A,
int n,
byte[] B) |
static byte[] |
HKDF_Expand(int hash,
int hlen,
int olen,
byte[] PRK,
byte[] INFO) |
static byte[] |
HKDF_Extract(int hash,
int hlen,
byte[] SALT,
byte[] IKM) |
static int |
HMAC1(int hash,
int sha,
byte[] tag,
int olen,
byte[] K,
byte[] M) |
static byte[] |
inttoBytes(int n,
int len) |
static byte[] |
KDF2(int hash,
int sha,
byte[] Z,
byte[] P,
int olen) |
static byte[] |
OAEP_DECODE(int sha,
byte[] p,
byte[] f,
int RFS) |
static byte[] |
OAEP_ENCODE(int sha,
byte[] m,
RAND rng,
byte[] p,
int RFS) |
static byte[] |
PBKDF2(int hash,
int sha,
byte[] Pass,
byte[] Salt,
int rep,
int olen) |
static boolean |
PKCS15(int sha,
byte[] m,
byte[] w,
int RFS) |
static boolean |
PKCS15b(int sha,
byte[] m,
byte[] w,
int RFS) |
static byte[] |
PSS_ENCODE(int sha,
byte[] m,
RAND rng,
int RFS) |
static boolean |
PSS_VERIFY(int sha,
byte[] m,
byte[] f) |
static byte[] |
SPhashit(int hash,
int hlen,
byte[] A) |
static byte[] |
XMD_Expand(int hash,
int hlen,
int olen,
byte[] DST,
byte[] MSG) |
static byte[] |
XOF_Expand(int hlen,
int olen,
byte[] DST,
byte[] MSG) |
public static final int MC_SHA2
public static final int MC_SHA3
public static byte[] inttoBytes(int n,
int len)
public static byte[] GPhashit(int hash,
int sha,
int pad,
int zpad,
byte[] A,
int n,
byte[] B)
public static byte[] SPhashit(int hash,
int hlen,
byte[] A)
public static byte[] KDF2(int hash,
int sha,
byte[] Z,
byte[] P,
int olen)
public static byte[] PBKDF2(int hash,
int sha,
byte[] Pass,
byte[] Salt,
int rep,
int olen)
public static int HMAC1(int hash,
int sha,
byte[] tag,
int olen,
byte[] K,
byte[] M)
public static byte[] HKDF_Extract(int hash,
int hlen,
byte[] SALT,
byte[] IKM)
public static byte[] HKDF_Expand(int hash,
int hlen,
int olen,
byte[] PRK,
byte[] INFO)
public static byte[] XOF_Expand(int hlen,
int olen,
byte[] DST,
byte[] MSG)
public static byte[] XMD_Expand(int hash,
int hlen,
int olen,
byte[] DST,
byte[] MSG)
public static boolean PKCS15(int sha,
byte[] m,
byte[] w,
int RFS)
public static boolean PKCS15b(int sha,
byte[] m,
byte[] w,
int RFS)
public static byte[] PSS_ENCODE(int sha,
byte[] m,
RAND rng,
int RFS)
public static boolean PSS_VERIFY(int sha,
byte[] m,
byte[] f)
public static byte[] OAEP_ENCODE(int sha,
byte[] m,
RAND rng,
byte[] p,
int RFS)
public static byte[] OAEP_DECODE(int sha,
byte[] p,
byte[] f,
int RFS)