public class PRF
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
m_label |
private byte[] |
m_secret |
private byte[] |
m_seed |
Constructor and Description |
---|
PRF(byte[] secret,
byte[] label,
byte[] seed)
Constructor for a Pseudo Random Function
|
Modifier and Type | Method and Description |
---|---|
byte[] |
calculate(int length)
calculates the result of a pseudo random function
|
Copyright © 2023. All rights reserved.