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

Method create

CodenameOne/src/com/codename1/security/Hash.java:96–98  ·  view source on GitHub ↗
(String algorithm)

Source from the content-addressed store, hash-verified

94 ///
95 /// - `CryptoException`: if the algorithm is not recognised
96 public static Hash create(String algorithm) {
97 return new Hash(MessageDigestImpl.create(algorithm));
98 }
99
100 /// Feeds the entire array into the running hash.
101 ///

Callers 8

md5Method · 0.95
sha1Method · 0.95
sha224Method · 0.95
sha256Method · 0.95
sha384Method · 0.95
sha512Method · 0.95
runHashVectorsMethod · 0.95

Calls 1

createMethod · 0.95

Tested by 2

runHashVectorsMethod · 0.76