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

Method md5

CodenameOne/src/com/codename1/security/Hmac.java:152–154  ·  view source on GitHub ↗
(byte[] key, byte[] data)

Source from the content-addressed store, hash-verified

150
151 /// One-shot HMAC-MD5. Legacy interop only -- prefer HMAC-SHA-256.
152 public static byte[] md5(byte[] key, byte[] data) {
153 return create(Hash.MD5, key).doFinal(data);
154 }
155
156 /// One-shot HMAC-SHA-1. Legacy interop only -- prefer HMAC-SHA-256.
157 public static byte[] sha1(byte[] key, byte[] data) {

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
doFinalMethod · 0.80

Tested by

no test coverage detected