MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / sha256

Method sha256

CodenameOne/src/com/codename1/security/Hash.java:172–174  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

170
171 /// One-shot SHA-256 hash (recommended general-purpose hash).
172 public static byte[] sha256(byte[] data) {
173 return create(SHA256).digest(data);
174 }
175
176 /// One-shot SHA-384 hash.
177 public static byte[] sha384(byte[] data) {

Callers 8

signInNativeMethod · 0.95
generateMethod · 0.95
runHashVectorsMethod · 0.95
sha256_abcMethod · 0.95
multiBlockMessageMethod · 0.95
invokeStatic3Method · 0.45
invokeStatic4Method · 0.45

Calls 2

createMethod · 0.95
digestMethod · 0.45

Tested by 4

runHashVectorsMethod · 0.76
sha256_abcMethod · 0.76
multiBlockMessageMethod · 0.76