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

Method sha1

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

Source from the content-addressed store, hash-verified

160
161 /// One-shot SHA-1 hash.
162 public static byte[] sha1(byte[] data) {
163 return create(SHA1).digest(data);
164 }
165
166 /// One-shot SHA-224 hash.
167 public static byte[] sha224(byte[] data) {

Callers 6

runHashVectorsMethod · 0.95
sha1_abcMethod · 0.95
invokeStatic3Method · 0.45
invokeStatic4Method · 0.45
file_hashFunction · 0.45
cache_pathFunction · 0.45

Calls 2

createMethod · 0.95
digestMethod · 0.45

Tested by 2

runHashVectorsMethod · 0.76
sha1_abcMethod · 0.76