Files
codeql/java/ql/test/experimental/query-tests/security/CWE-759/HASH.java
2021-01-18 19:22:34 +00:00

12 lines
276 B
Java

import java.security.NoSuchAlgorithmException;
public interface HASH {
void init() throws NoSuchAlgorithmException;
int getBlockSize();
void update(byte[] foo, int start, int len) throws NoSuchAlgorithmException;
byte[] digest() throws NoSuchAlgorithmException;
}