MCPcopy Create free account
hub / github.com/bcgit/bc-java / zero

Method zero

mls/src/main/java/org/bouncycastle/mls/crypto/Secret.java:26–29  ·  view source on GitHub ↗
(MlsCipherSuite suite)

Source from the content-addressed store, hash-verified

24 }
25
26 public static Secret zero(MlsCipherSuite suite)
27 {
28 return new Secret(new byte[suite.getKDF().getHashLength()]);
29 }
30
31 @Override
32 public boolean equals(Object o)

Callers 3

pskSecretMethod · 0.95
forCreatorMethod · 0.95
commitMethod · 0.95

Calls 2

getKDFMethod · 0.80
getHashLengthMethod · 0.65

Tested by

no test coverage detected