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

Method sha512

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

Source from the content-addressed store, hash-verified

180
181 /// One-shot SHA-512 hash.
182 public static byte[] sha512(byte[] data) {
183 return create(SHA512).digest(data);
184 }
185
186 // ----------------------------------------------------------------
187 // hex helpers -- handy for displaying digests and writing test vectors

Callers 4

runHashVectorsMethod · 0.95
sha512_abcMethod · 0.95
invokeStatic3Method · 0.45
invokeStatic4Method · 0.45

Calls 2

createMethod · 0.95
digestMethod · 0.45

Tested by 2

runHashVectorsMethod · 0.76
sha512_abcMethod · 0.76