(byte[] key, byte[] data)
| 160 | |
| 161 | /// One-shot HMAC-SHA-224. |
| 162 | public static byte[] sha224(byte[] key, byte[] data) { |
| 163 | return create(Hash.SHA224, key).doFinal(data); |
| 164 | } |
| 165 | |
| 166 | /// One-shot HMAC-SHA-256 (recommended default). |
| 167 | public static byte[] sha256(byte[] key, byte[] data) { |