Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ testSha256
Method
testSha256
src/test/java/com/github/javafaker/CryptoTest.java:21–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
@Test
22
public
void
testSha256() {
23
assertThat(faker.crypto().sha256(), matchesRegularExpression(
"[a-z\\d]+"
));
24
}
25
26
@Test
27
public
void
testSha512() {
Callers
nothing calls this directly
Calls
3
sha256
Method · 0.80
crypto
Method · 0.80
matchesRegularExpression
Method · 0.80
Tested by
no test coverage detected