(String data)
| 3256 | // Cryptography |
| 3257 | |
| 3258 | static String sha256(String data) throws NoSuchAlgorithmException { |
| 3259 | return sha256(data.getBytes()); |
| 3260 | } |
| 3261 | |
| 3262 | static String sha1(byte[] data) throws NoSuchAlgorithmException { |
| 3263 | return sha("SHA-1", data); |
no test coverage detected