(byte[] data)
| 170 | |
| 171 | /// One-shot SHA-256 hash (recommended general-purpose hash). |
| 172 | public static byte[] sha256(byte[] data) { |
| 173 | return create(SHA256).digest(data); |
| 174 | } |
| 175 | |
| 176 | /// One-shot SHA-384 hash. |
| 177 | public static byte[] sha384(byte[] data) { |