(byte[] data)
| 180 | |
| 181 | /// One-shot SHA-512 hash. |
| 182 | public static byte[] sha512(byte[] data) { |
| 183 | return create(SHA512).digest(data); |
| 184 | } |
| 185 | |
| 186 | // ---------------------------------------------------------------- |
| 187 | // hex helpers -- handy for displaying digests and writing test vectors |