Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
runHashVectors
Method · 0.95
sha1_abc
Method · 0.95
invokeStatic3
Method · 0.45
invokeStatic4
Method · 0.45
file_hash
Function · 0.45
cache_path
Function · 0.45
Calls
2
create
Method · 0.95
digest
Method · 0.45
Tested by
2
runHashVectors
Method · 0.76
sha1_abc
Method · 0.76